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

Issue 216233012: Add whitelist support for grit repack steps. (Closed)

Created:
6 years, 9 months ago by aurimas (slooooooooow)
Modified:
6 years, 8 months ago
Reviewers:
Nico, newt (away)
CC:
chromium-reviews
Visibility:
Public.

Description

Add whitelist support for grit repack steps. -Adds new repack_options variables -Updates pragma to output numeric_id instead of resource_id -Updates find_used_resources.py to filter for numeric_id To use the existing system you need to do following steps: 1. Remove out directory (we need to do a clean build) 2. Append " enable_resource_whitelist_generation=1" to GYP_DEFINES 3. Run gyp 4. Build your target (e.g. chrome_shell_apk) saving output to a file (e.g. build.txt) 5. cat build.txt | tools/resources/find_used_resources.py > whitelist.txt 6. Append " repack_options='--whitelist /path/to/whitelist.txt'" 7. Run gyp 8. Build your target again. 9. ??? 10. Profit!!! BUG=338759 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=261611

Patch Set 1 #

Total comments: 6

Patch Set 2 : newt's nits #

Patch Set 3 : Change to using _ instead of - #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -5 lines) Patch
M build/common.gypi View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M build/repack_action.gypi View 1 2 chunks +8 lines, -1 line 0 comments Download
M chrome/chrome_repack_locales.gypi View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/tools/build/repack_locales.py View 1 5 chunks +7 lines, -1 line 0 comments Download
M tools/resources/find_used_resources.py View 1 2 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
aurimas (slooooooooow)
newt: PTAL! Aurimas
6 years, 9 months ago (2014-03-28 20:58:39 UTC) #1
newt (away)
https://codereview.chromium.org/216233012/diff/1/build/repack_action.gypi File build/repack_action.gypi (right): https://codereview.chromium.org/216233012/diff/1/build/repack_action.gypi#newcode28 build/repack_action.gypi:28: '<@(pak_inputs)'], nit: ] on separate line https://codereview.chromium.org/216233012/diff/1/chrome/tools/build/repack_locales.py File chrome/tools/build/repack_locales.py ...
6 years, 8 months ago (2014-03-31 17:45:13 UTC) #2
aurimas (slooooooooow)
https://codereview.chromium.org/216233012/diff/1/build/repack_action.gypi File build/repack_action.gypi (right): https://codereview.chromium.org/216233012/diff/1/build/repack_action.gypi#newcode28 build/repack_action.gypi:28: '<@(pak_inputs)'], On 2014/03/31 17:45:14, newt wrote: > nit: ] ...
6 years, 8 months ago (2014-03-31 17:54:21 UTC) #3
newt (away)
lgtm
6 years, 8 months ago (2014-03-31 19:55:52 UTC) #4
aurimas (slooooooooow)
Hey Nico, Please take a look at this change. Thanks, Aurimas
6 years, 8 months ago (2014-03-31 19:57:51 UTC) #5
Nico
lgtm
6 years, 8 months ago (2014-03-31 21:59:07 UTC) #6
aurimas (slooooooooow)
The CQ bit was checked by aurimas@chromium.org
6 years, 8 months ago (2014-04-03 18:21:48 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aurimas@chromium.org/216233012/60001
6 years, 8 months ago (2014-04-03 18:21:50 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-03 18:26:34 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on win_chromium_compile_dbg
6 years, 8 months ago (2014-04-03 18:26:34 UTC) #10
aurimas (slooooooooow)
The CQ bit was checked by aurimas@chromium.org
6 years, 8 months ago (2014-04-03 21:09:35 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aurimas@chromium.org/216233012/60001
6 years, 8 months ago (2014-04-03 21:10:14 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-03 21:17:54 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on win_chromium_compile_dbg
6 years, 8 months ago (2014-04-03 21:17:54 UTC) #14
aurimas (slooooooooow)
The CQ bit was checked by aurimas@chromium.org
6 years, 8 months ago (2014-04-03 21:19:05 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aurimas@chromium.org/216233012/60001
6 years, 8 months ago (2014-04-03 21:20:31 UTC) #16
commit-bot: I haz the power
6 years, 8 months ago (2014-04-04 00:52:33 UTC) #17
Message was sent while issue was closed.
Change committed as 261611

Powered by Google App Engine
This is Rietveld 408576698