Skip to content

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

Open
@m182s

Description

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions