[tbb-commits] [tor-browser-build/master] Bug 28802: Support PTs in Tor Browser for Android

gk at torproject.org gk at torproject.org
Fri Mar 15 15:49:23 UTC 2019


commit 68730ec4ae152475f638cd52f79b6621412b3f85
Author: Georg Koppen <gk at torproject.org>
Date:   Fri Mar 15 15:46:58 2019 +0000

    Bug 28802: Support PTs in Tor Browser for Android
---
 projects/orbot/build | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/projects/orbot/build b/projects/orbot/build
index 840df3e..4bea420 100644
--- a/projects/orbot/build
+++ b/projects/orbot/build
@@ -20,6 +20,16 @@ for p in $rootdir/*.patch
   do patch -p1 < $p
 done
 
+# Use Orbot's PT capabilities
+[% IF c("var/android-armv7") %]
+  arch=armeabi-v7a
+[% ELSE %]
+  arch=x86
+[% END %]
+obfs4dir=orbotservice/src/main/libs/$arch
+mkdir -p $obfs4dir
+mv external/pluto/bin/$arch/obfs4proxy $obfs4dir/obfs4proxy.so
+
 # Build Android Libraries and Apps
 $GRADLE_HOME/gradle-4.1/bin/gradle --offline assembleRelease -x lint
 



More information about the tbb-commits mailing list