update build docs.

svn:r20840
This commit is contained in:
Jacob Appelbaum 2009-10-25 05:06:49 +00:00
parent d141099406
commit 5be6f021ff
1 changed files with 9 additions and 1 deletions

View File

@ -81,10 +81,18 @@ At this point, you'll have a Tor binary that can be run on an Android handset.
This isn't enough though and we'll now sew up the binary into a small package This isn't enough though and we'll now sew up the binary into a small package
that will handle basic Tor controlling features. that will handle basic Tor controlling features.
We need to build our Java SOCKS library:
# If you're in Orbot's directory already...
cd ../asocks/
ant compile
ant jar
cp bin/jar/asocks.jar ../Orbot/libs
Finally, we'll make a proper Android package with ant and the Android App SDK: Finally, we'll make a proper Android package with ant and the Android App SDK:
export APP_SDK=~/Documents/projects/android/android-sdk-linux_x86-1.5_r3/tools export APP_SDK=~/Documents/projects/android/android-sdk-linux_x86-1.5_r3/tools
cd Orbot/ cd ../Orbot/
cp ~/mydroid/external/tor/tor/src/or/tor assets/tor cp ~/mydroid/external/tor/tor/src/or/tor assets/tor
$APP_SDK/android update project --name Orbot --target 1 --path . $APP_SDK/android update project --name Orbot --target 1 --path .
ant release ant release