[guardian-dev] Build process for Android Tor binary

Michael Rogers michael at briarproject.org
Fri Dec 27 14:15:46 EST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 27/12/13 17:42, Nathan of Guardian wrote:
> We don't bundle Tor with ChatSecure, it is only in Orbot.

Doh, sorry, I meant Orbot. ECHRISTMAS :-)

> Regardless, still happy to help you compile your own Tor. It is
> quite a robust build process.
> 
> 1) Ensure you have NDK installed
> 
> 2) Set your ANDROID_NDK home env variable.
> 
> 3) cd Orbot/external
> 
> 4) run "make"!

That's fantastic, thanks! I had to make a small change to the Makefile
on my system, where uname -m is i686 but the NDK expects x86:

- -NDK_PROCESSOR:=`uname -m`
+NDK_PROCESSOR:=$(shell uname -m)
+ifeq ($(NDK_PROCESSOR), i686)
+        NDK_PROCESSOR:=x86
+endif

Apart from that, everything went as expected.

Cheers,
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEcBAEBAgAGBQJSvdHiAAoJEBEET9GfxSfMULQH/1A8cY1So7/z8deRW755leVu
JeVprZ6l1Acy/SQQl451h+fYYGV6W7rz/Lghk0IPWvY31a2i4TKK+6h8gPohspDt
aw3sHHgJDDM+wn4KDuNF9h3eQovd0CK8Fcxi2WNOXxhj5GAEX91mCzUGTLxPEH0g
xAaD+sGoa8ocF+7ycuwsZ0+lA4Cu6Oqhvr+YIfqQDC/zQTVNYIJrtHNVKvKft/PB
7rZbApWIpI4djOyb6nZiewhF7KzTVqMGFU9AQ629o+5u3JepqhY2NzfekAowXuZl
OdM0yWLvZIKRYt7TzN1vaqD7hoEA+lKQBa7l/QZgmJFUzIqpGhLbCOqcrtNWWLA=
=yca+
-----END PGP SIGNATURE-----


More information about the Guardian-dev mailing list