New issue
Advanced search Search tips

Issue 890855 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: ----



Sign in to add a comment

Reduce install size of Crashpad on Android

Project Member Reported by jperaza@chromium.org, Oct 1

Issue description

Crashpad was packaged into Android APKs in:
https://chromium-review.googlesource.com/c/chromium/src/+/1150774

which caused significant install-size regressions.

MonochromePublic.apk increases in size by 100 KB.

ChromeModernPublic.apk increases in size by 203KB (587 KB
increase in install size because libcrashpad_handler.so is extracted
from the APK). Possible mitigations for this increase are TODO:

For J, K: We could link the handler directly into libchrome.so and let
that be our handler executable. This would de-dup portions of libbase
that are currently linked into both libchrome.so and
libcrashpad_handler.so.

For L, M: It might be possible to get the chromium linker (or Bionic's
linker on M) to dlopen libchrome.so from the APK for a trampoline
libcrashpad_handler.so to de-dup libbase.
 

Sign in to add a comment