Skip to content

Instantly share code, notes, and snippets.

@tangzero
Created January 27, 2014 21:05
Show Gist options
  • Save tangzero/8657281 to your computer and use it in GitHub Desktop.
Save tangzero/8657281 to your computer and use it in GitHub Desktop.
Android Libs Size
APP_CPPFLAGS := -ffunction-sections -fdata-sections -fvisibility=hidden -frtti
APP_CFLAGS := -ffunction-sections -fdata-sections
APP_LDFLAGS := -Wl,--gc-sections
from:
libSDL2.so 661K
libgnustl_shared.so 758K
liblove.so 3.9M
to:
libSDL2.so 661K
libgnustl_shared.so 758K
liblove.so 3.4M
Not much! :(
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment