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

Issue 2272713004: Reland of Enable whitelist generation for official builds. (Closed)

Created:
4 years, 4 months ago by estevenson
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

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}

Patch Set 1 #

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

Messages

Total messages: 21 (9 generated)
estevenson
ptal Andrew, the reason the perf trybot was breaking in the previous CL was because ...
4 years, 4 months ago (2016-08-24 17:45:37 UTC) #4
agrieve
On 2016/08/24 17:45:37, estevenson wrote: > ptal Andrew, the reason the perf trybot was breaking ...
4 years, 4 months ago (2016-08-24 18:31:47 UTC) #5
agrieve
lambroslambrou@chromium.org: Please review changes in remoting
4 years, 4 months ago (2016-08-24 18:32:32 UTC) #7
Lambros
lgtm
4 years, 4 months ago (2016-08-24 18:52:28 UTC) #8
estevenson
ptal Dirk :).
4 years, 4 months ago (2016-08-24 18:55:56 UTC) #10
Dirk Pranke
lgtm
4 years, 4 months ago (2016-08-24 19:31:42 UTC) #11
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/2272713004/1
4 years, 4 months ago (2016-08-24 19:51:55 UTC) #15
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 4 months ago (2016-08-24 21:18:14 UTC) #16
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/fa33a5b9e9bb7a76fa02426c8a23a232205d83a1 Cr-Commit-Position: refs/heads/master@{#414148}
4 years, 4 months ago (2016-08-24 21:22:25 UTC) #18
Michael Achenbach
A revert of this CL (patchset #1 id:1) has been created in https://codereview.chromium.org/2287243003/ by machenbach@chromium.org. ...
4 years, 3 months ago (2016-08-29 10:25:00 UTC) #19
Dirk Pranke
On 2016/08/29 10:25:00, machenbach (slow) wrote: > A revert of this CL (patchset #1 id:1) ...
4 years, 3 months ago (2016-08-29 15:49:55 UTC) #20
Lei Zhang
4 years, 3 months ago (2016-08-29 17:37:40 UTC) #21
Message was sent while issue was closed.
On 2016/08/29 15:49:55, Dirk Pranke wrote:
> Ick, you're absolutely right, and I should've thought of that. We don't want
> //build to 
> generally depend on //tools or //third_party at all IMO. I'll have to think
> about how to
> work around that for this.

Yep, just hit the same issue trying to roll DEPS for build + buildtools in
standalone PDFium. PDFium does not use grit...

Powered by Google App Engine
This is Rietveld 408576698