DescriptionReland #2 of Enable whitelist generation for official builds.
Previous: https://codereview.chromium.org/2241383004/
Currently, all resources are included in PAK files when Chrome is
built locally. Only official_buildbot.sh uses a resource whitelist. This CL
enables local builds to use resource whitelisting by setting the
enable_resource_whitelist_generation gn flag to true, or by building an
official build.
This will allow developers to more easily monitor the changes in APK size
for each commit they make.
However, a large amount of output is generated (_pragma is used to
create warnings to allow whitelisted resources to be listed), so for now
the whitelist will only be generated for official builds.
This change results in a ~1.5 mb difference when calculating the APK size with resource_sizes.py.
BUG=632385
Committed: https://crrev.com/c7e6104c8c2ed8080115e92ff3c6f9d748e7feae
Cr-Commit-Position: refs/heads/master@{#413794}
Patch Set 1 #Patch Set 2 : rebase + use shlib_extension instead of hardcoded value #
Messages
Total messages: 18 (11 generated)
|