From cc8d3e1eab678c2b054d09ad2cd098ec0eb1b06c Mon Sep 17 00:00:00 2001 From: Nathan Freitas Date: Thu, 3 Apr 2014 23:01:39 -0400 Subject: [PATCH] update to return to binaries as ZIPd res/raw stop using the libs/armeabi hack method --- external/Makefile | 19 +- libs/jtorctl.jar | Bin 14742 -> 14742 bytes .../android/service/TorResourceInstaller.java | 17 ++ .../android/service/TorService.java | 178 +++--------------- .../android/service/TorServiceConstants.java | 6 +- 5 files changed, 54 insertions(+), 166 deletions(-) diff --git a/external/Makefile b/external/Makefile index 7a9f637b..b297c515 100644 --- a/external/Makefile +++ b/external/Makefile @@ -334,19 +334,18 @@ jtorctl-clean: #this is related to a bug in compression of assets and resources > 1MB assets: tor privoxy jtorctl obfsproxy iptables - install -d ../libs/armeabi - install -d ../libs - install bin/privoxy ../libs/armeabi/libprivoxy.so - install bin/obfsproxy ../libs/armeabi/libobfsproxy.so install bin/jtorctl.jar ../libs - install bin/tor ../libs/armeabi/libtor.so - install bin/xtables ../libs/armeabi/libxtables.so + install -d ../res/raw + -zip ../res/raw/privoxy.mp3 bin/privoxy + -zip ../res/raw/obfsproxy.mp3 bin/obfsproxy + -zip ../res/raw/tor.mp3 bin/tor + -zip ../res/raw/xtables.mp3 bin/xtables assets-clean: - -rm ../libs/armeabi/libxtables.so - -rm ../libs/armeabi/libtor.so - -rm ../libs/armeabi/libprivoxy.so - -rm ../libs/armeabi/libobfsproxy.so + -rm ../res/raw/privoxy.mp3 + -rm ../res/raw/obfsproxy.mp3 + -rm ../res/raw/tor.mp3 + -rm ../res/raw/xtables.mp3 -rm ../libs/jtorctl.jar #------------------------------------------------------------------------------# diff --git a/libs/jtorctl.jar b/libs/jtorctl.jar index 9309e9bf51b29614da59589747e585f5dd2b23a6..26ccf575d00db9ddfce84e52beedd9400be5c8ad 100755 GIT binary patch delta 298 zcmbPMJgt~Fz?+#xgn@&DgCVV`dLpkCGl=qP0#oPZ!PG}h5H(qrQ5Q`6GMa+u&8>`9 z?1Dgs3j-3co;;D;XmYk0&t^W(A||l9X6{vtV1@y&l?0fPtC|B5xuX^jVc2OLfhcCx z7G(viku{hPk=k$A0hXHVWnux6ncQk(52lZs=!5B>CYE5@)YKMCmzuhQ>Aj}0U|QBJ q4NSM0WrFEXX7OM;#5^2KuQN{o(}EUJU^>qt08AgW2m{knmNfwD