Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to reduce the size of the library being used in geckoview? like the libxul.so? #244

Open
m182s opened this issue Jul 18, 2024 · 0 comments

Comments

@m182s
Copy link

m182s commented Jul 18, 2024

I was wndering if I can reduce the size of the library used by geckoview,
One of the biggest lib file is libxul.so, is there a way to reduce the size during building of the gecko binaries?
I tried some options in mozconfig like the following:

ac_add_options --target=i686-linux-android
ac_add_options --enable-optimize
ac_add_options --disable-debug
ac_add_options --disable-debug-symbols
ac_add_options --enable-release
ac_add_options --as-milestone=release
ac_add_options --enable-official-branding
ac_add_options --with-branding=mobile/android/branding/official

currently I got libxul.so size of ~50mb inside aar file.

any ideas in reducing components and features?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant