[tor-commits] [orbot/master] updated BUILD info to add split command for tor binary

n8fr8 at torproject.org n8fr8 at torproject.org
Fri Oct 28 15:28:28 UTC 2011


commit 6afb5da06abcea9709f7352a306bf026a141cec9
Author: Nathan Freitas <nathan at freitas.net>
Date:   Mon Jul 25 17:35:39 2011 -0400

    updated BUILD info to add split command for tor binary
---
 BUILD |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/BUILD b/BUILD
index b2e4109..b22aec4 100644
--- a/BUILD
+++ b/BUILD
@@ -124,7 +124,13 @@ 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
 	cd ../Orbot/
 	cp $DROID_ROOT/external/privoxy/privoxy-3.0.12-stable/privoxy assets/privoxy
-	cp $DROID_ROOT/external/tor/tor/src/or/tor assets/tor
+
+Now you need to split and copy the tor binary into res/raw. We split it into < 1M chunks
+because some Android devices don't like resources larger than 1M.
+
+	split --bytes=1m $DROID_ROOT/external/tor/tor/src/or/tor res/raw/tor
+
+Now build the Android app
 	$APP_SDK/android update project --name Orbot --target 3 --path .
 	ant release
 





More information about the tor-commits mailing list