Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(124)

Issue 2287243003: Revert of Enable whitelist generation for official builds. (Closed)

Created:
4 years, 3 months ago by Michael Achenbach
Modified:
4 years, 3 months ago
CC:
chromium-reviews, chromoting-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of Enable whitelist generation for official builds. (patchset #1 id:1 of https://codereview.chromium.org/2272713004/ ) Reason for revert: This breaks using //build in downstream projects. E.g. V8 pulls //build, but not //tools and //third_party. While grit could be included non-trivially in our deps, the closure_compiler seems to have no mirror that can be deps'ed (we could create another subtreed to solve this). Could you provide a solution that only conditionally imports things from //tools and e.g. is switched off in subprojects? Original issue's description: > Reland of Enable whitelist generation for official builds. > > Previous: https://codereview.chromium.org/2271673002/ > > 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/fa33a5b9e9bb7a76fa02426c8a23a232205d83a1 > Cr-Commit-Position: refs/heads/master@{#414148} TBR=agrieve@chromium.org,lambroslambrou@chromium.org,dpranke@chromium.org,estevenson@chromium.org # Not skipping CQ checks because original CL landed more than 1 days ago. BUG=632385

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+147 lines, -366 lines) Patch
M build/toolchain/gcc_ar_wrapper.py View 3 chunks +15 lines, -10 lines 0 comments Download
D build/toolchain/gcc_compile_wrapper.py View 1 chunk +0 lines, -43 lines 0 comments Download
M build/toolchain/gcc_solink_wrapper.py View 5 chunks +21 lines, -16 lines 0 comments Download
M build/toolchain/gcc_toolchain.gni View 6 chunks +2 lines, -33 lines 0 comments Download
D build/toolchain/wrapper_utils.py View 1 chunk +0 lines, -105 lines 0 comments Download
M chrome/BUILD.gn View 4 chunks +0 lines, -41 lines 0 comments Download
M chrome/chrome_repack_locales.gni View 2 chunks +0 lines, -5 lines 0 comments Download
M remoting/host/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M tools/grit/grit/format/data_pack.py View 4 chunks +5 lines, -12 lines 0 comments Download
M tools/grit/grit/format/repack.py View 1 chunk +2 lines, -5 lines 0 comments Download
M tools/grit/grit_rule.gni View 1 chunk +3 lines, -7 lines 0 comments Download
M tools/grit/repack.gni View 2 chunks +10 lines, -6 lines 0 comments Download
A tools/resources/find_used_resources.py View 1 chunk +89 lines, -0 lines 0 comments Download
D tools/resources/generate_resource_whitelist.py View 1 chunk +0 lines, -82 lines 0 comments Download

Messages

Total messages: 11 (6 generated)
Michael Achenbach
Created Revert of Enable whitelist generation for official builds.
4 years, 3 months ago (2016-08-29 10:25:00 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2287243003/1
4 years, 3 months ago (2016-08-29 10:25:20 UTC) #4
Michael Achenbach
PTAL (I can wait with a revert one day). V8's deps are updated daily. This ...
4 years, 3 months ago (2016-08-29 10:26:35 UTC) #5
agrieve
On 2016/08/29 10:26:35, machenbach (slow) wrote: > PTAL (I can wait with a revert one ...
4 years, 3 months ago (2016-08-30 15:15:57 UTC) #10
Michael Achenbach
4 years, 3 months ago (2016-08-30 15:39:47 UTC) #11
Closing...

Powered by Google App Engine
This is Rietveld 408576698