How to reduce the size of libc++_shared.so #1661
Unanswered
FelixZhang00
asked this question in
Q&A
Replies: 1 comment 4 replies
-
Presumably AGP isn't stripping it? You're not building it so no flags you pass will do anything. Or maybe Instagram is building their own. You only have one native library. Just use the static STL and let the linker strip the dead code. The shared STL is only needed if you have more than one library. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I found the libc++_shared.so in instagram.lite is very small (just 33KB)
but my simple demo's is very big(297KB)
Are there any ways to reduce the size of libc++_shared.so?
there is the flags in CmakeLists.txt:
Beta Was this translation helpful? Give feedback.
All reactions