[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 68730ec4ae152475f638cd52f79b6621412b3f85
Author: Georg Koppen <gk@xxxxxxxxxxxxxx>
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
 

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits