Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 13bb4354 authored by Mohammed Althaf T's avatar Mohammed Althaf T 😊
Browse files

Compress legacy apk builds

parent 53fb7476
Loading
Loading
Loading
Loading
+24 −0
Original line number Original line Diff line number Diff line
From: uazo <uazo@users.noreply.github.com>
Date: Wed, 19 Jul 2023 09:32:36 +0000
Subject: Compress libchrome to free up some space

upstream removed ModernLinker support for developer build (apk releases).
see https://bugs.chromium.org/p/chromium/issues/detail?id=1383210

License: GPL-2.0-or-later - https://spdx.org/licenses/GPL-2.0-or-later.html
---
 chrome/android/chrome_public_apk_tmpl.gni | 1 +
 1 file changed, 1 insertion(+)

diff --git a/chrome/android/chrome_public_apk_tmpl.gni b/chrome/android/chrome_public_apk_tmpl.gni
--- a/chrome/android/chrome_public_apk_tmpl.gni
+++ b/chrome/android/chrome_public_apk_tmpl.gni
@@ -677,6 +677,7 @@ template("chrome_common_apk_or_module_tmpl") {
           [ "//components/crash/core/app:chrome_crashpad_handler_named_as_so" ]
       loadable_modules += [ "$root_out_dir/libchrome_crashpad_handler.so" ]
       library_always_compress += [ "libchrome_crashpad_handler.so" ]
+      library_always_compress += [ "libchrome.so" ]
     } else if (!_is_trichrome) {
       # Crashpad trampoline lives in TrichromeLibrary.apk.
       # https://chromium.googlesource.com/chromium/src/+/main/docs/android_native_libraries.md#Crashpad-Packaging
--
+1 −0
Original line number Original line Diff line number Diff line
@@ -178,6 +178,7 @@ Disable-Feeback-Collector.patch
Fix-chromium-build-bugs.patch
Fix-chromium-build-bugs.patch
Disable-privacy-issues-in-password-manager.patch
Disable-privacy-issues-in-password-manager.patch
Use-browser-navigation-handler.patch
Use-browser-navigation-handler.patch
Compress-libchrome-to-free-up-some-space.patch
Disable-Android-Tab-Declutter.patch
Disable-Android-Tab-Declutter.patch
Temp-disable-UseContextSnapshot.patch
Temp-disable-UseContextSnapshot.patch