New issue
Advanced search Search tips

Issue 918945 link

Starred by 1 user

Issue metadata

Status: Available
Owner:
Cc:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug



Sign in to add a comment

Create monochrome's pak whitelist without linking libwebviewchromium

Project Member Reported by agrieve@chromium.org, Jan 3

Issue description

android-binary-size trybot spends >10min each run just linking libwebviewchromium.
e.g.:
https://chromium-build-stats.appspot.com/ninja_log/2019/01/03/swarm2448-c4/ninja_log.swarm2448-c4.chrome-bot.20190103-073738.18100.gz/trace.html

The link is necessary only to extract the pak whitelist out of the lib's debug info. It would be much faster to extract the debug info out of the .o / .a files that comprise the library directly rather than first linking it.

Alternatively, we could consider using a custom GN arg that the bot sets that disables LTO on just libwebviewchromium, or define a separate shared_library() target that uses super-fast linker flags.

 

Sign in to add a comment