My shared library size is about 950K when built in release mode.
I want to have it as small as possible, so every time the library is
rebuilt I invoke
arm-eabi-strip -g -S -d --strip-debug --strip-unneeded libxxx.so
This makes the library as small as 850K.
I wonder:
1. Is it OK to manually invoke arm-eabi-strip with these parameters?
2. Which flags are passed to arm-eabi-strip when release lib is built
using ndk-build?
3. Can I change arm-eabi-strip behavior using variables in
Application.mk so that I don't have to invoke arm-eabi-strip manually
every time?
I know APP_OPTIM allows to explicitly request release/checked mode but
I could not find anything that lets redefine arm-eabi-strip behavior.
Thanks,
Eugene
cmd-strip = $(TOOLCHAIN_PREFIX)strip --strip-debug $1
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-ndk...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.