[tor-commits] [orbot/master] add binary stripping to makefile
n8fr8 at torproject.org
n8fr8 at torproject.org
Fri May 2 14:10:38 UTC 2014
commit 05b6553cba52cb7721005af087ec2a8b33ee88b8
Author: Nathan Freitas <nathan at freitas.net>
Date: Fri Apr 25 12:45:11 2014 -0400
add binary stripping to makefile
---
external/Makefile | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/external/Makefile b/external/Makefile
index 899bb2f..96b75ed 100644
--- a/external/Makefile
+++ b/external/Makefile
@@ -58,6 +58,7 @@ STRIP := $(NDK_TOOLCHAIN_BASE)/bin/$(HOST)-strip \
CFLAGS = -DANDROID $(TARGET_CFLAGS)
LDFLAGS = -llog $(TARGET_LDFLAGS)
+
# change 'release' to 'debug' for unoptimized debug builds
ifeq ($(APP_ABI),armeabi-v7a)
CFLAGS += $(TARGET_arm_release_CFLAGS)
@@ -324,9 +325,13 @@ jtorctl-clean:
assets: tor polipo jtorctl iptables obfsclient
install bin/jtorctl.jar ../libs
install -d ../res/raw
+ -$(NDK_TOOLCHAIN_BASE)/bin/$(HOST)-strip --strip-debug bin/polipo
-zip ../res/raw/polipo.mp3 bin/polipo
+ -$(NDK_TOOLCHAIN_BASE)/bin/$(HOST)-strip --strip-debug bin/obfsclient
-zip ../res/raw/obfsclient.mp3 bin/obfsclient
+ -$(NDK_TOOLCHAIN_BASE)/bin/$(HOST)-strip --strip-debug bin/tor
-zip ../res/raw/tor.mp3 bin/tor
+ -$(NDK_TOOLCHAIN_BASE)/bin/$(HOST)-strip --strip-debug bin/xtables
-zip ../res/raw/xtables.mp3 bin/xtables
assets-clean:
More information about the tor-commits
mailing list