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

reduce size of libwebviewchromium.so not < 40mb,release arm_system_webview.apk <40mb #2630

Closed
4 tasks done
BlueSky15171 opened this issue Jun 30, 2023 · 1 comment
Closed
4 tasks done
Labels
missing-issue-template This issue was not created with the issue template

Comments

@BlueSky15171
Copy link

Preliminary checklist

  • I have read the README
  • I have read the FAQs.
  • I have searched existing issues for my feature request. This is a new issue (NOT a duplicate) and is not related to another issue.
  • This is a feature request for the Bromite browser; not the website nor F-Droid nor anything else.

Is your feature request related to privacy?

No

Is there a patch available for this feature somewhere?

no

Describe the solution you would like

Why do I use Chromium. gn from the master branch_ The size of the args parameter compilation libwebviewchrome. so cannot be optimized to within 40mb
Release/arm_SystemWebView.apk just 39mb.
i use this config :

android_channel="stable"
blink_symbol_level=0
build_contextual_search=false
build_with_tflite_lib=false
chrome_pgo_phase=0
dcheck_always_on=false
debuggable_apks=false
dfmify_dev_ui=false
disable_android_lint=true
disable_autofill_assistant_dfm=true
disable_fieldtrial_testing_config=true
disable_tab_ui_dfm=true
enable_av1_decoder=true
enable_dav1d_decoder=true
enable_gvr_services=false
enable_hangout_services_extension=false
enable_iterator_debugging=false
enable_mdns=false
enable_mse_mpeg2ts_stream_parser=true
enable_nacl=false
enable_platform_dolby_vision=true
enable_platform_hevc=true
enable_remoting=false
enable_reporting=true
enable_vr=false
enable_pdf=false
enable_widevine=false
exclude_unwind_tables=false
enable_proguard_obfuscation=false
enable_offline_pages=false
ffmpeg_branding="Chrome"
icu_use_data_file=true
is_cfi=true
is_component_build=false
is_debug=false
is_official_build=true
proprietary_codecs=true
rtc_build_examples=false
safe_browsing_mode=0
symbol_level=0
system_webview_package_name="com.android.webview"
target_os="android"
target_cpu="arm"
use_cfi_cast=true
use_debug_fission=false
use_errorprone_java_compiler=false
use_gnome_keyring=false
use_official_google_api_keys=false
use_rtti=false
use_stable_package_name_for_trichrome=false
use_sysroot=true
use_gcm_from_platform=false
webview_includes_weblayer=false
treat_warnings_as_errors=false

builded size of libwebviewchromium.so is 70mb+,

May I ask how to optimize or disable those features to minimize the size of libwebviewchrome.so as much as possible?

Thanks.

Describe alternatives you have considered

i want to reduce size of libwebviewchromium.so

@kokukyocho
Copy link
Collaborator

Hello @BlueSky15171!

I am a bot 🤖

Thanks for submitting this issue!
The issue you submitted does not follow the template for either a bug or a feature request.
Restore the questions that you removed or changed and the issue will be automatically re-opened afterwards.
Please DO NOT spam the issue tracker with new issues.

If this is not an issue nor a feature request and you want to start a discussion then you can use GitHub Discussions.

@kokukyocho kokukyocho added the missing-issue-template This issue was not created with the issue template label Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
missing-issue-template This issue was not created with the issue template
Projects
None yet
Development

No branches or pull requests

2 participants