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

Issue 2129683002: Use a response file for aggregate_vector_icons in GN (Closed)

Created:
4 years, 5 months ago by tdanderson
Modified:
4 years, 5 months ago
Reviewers:
brettw, Evan Stade
CC:
chromium-reviews, kalyank, sadrul
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use a response file for aggregate_vector_icons in GN Modify the aggregate_vector_icons step in ui/gfx/BUILD.gn to accept a response file containing only the desired .icon files to process rather than have every build configuration process and include all .icon files. This will make it possible to separate icons into subdirectories and conditionally process them on a per-platform basis. BUG=535386 TEST=builds with GN and GYP Committed: https://crrev.com/3664dfc4b6d8c46708c7ad2a9d95b8eb6ac710b1 Cr-Commit-Position: refs/heads/master@{#404512}

Patch Set 1 #

Total comments: 13

Patch Set 2 : do not prepend directory #

Unified diffs Side-by-side diffs Delta from patch set Stats (+229 lines, -201 lines) Patch
M .gn View 1 chunk +1 line, -0 lines 0 comments Download
M ui/gfx/BUILD.gn View 1 2 chunks +10 lines, -194 lines 0 comments Download
M ui/gfx/vector_icons/aggregate_vector_icons.py View 1 3 chunks +22 lines, -7 lines 0 comments Download
A ui/gfx/vector_icons_sources.gypi View 1 1 chunk +196 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (6 generated)
tdanderson
Brett and Evan, can you please take a first look at this CL and my ...
4 years, 5 months ago (2016-07-06 18:23:24 UTC) #2
Evan Stade
awesome!! https://codereview.chromium.org/2129683002/diff/1/ui/gfx/vector_icons/aggregate_vector_icons.py File ui/gfx/vector_icons/aggregate_vector_icons.py (right): https://codereview.chromium.org/2129683002/diff/1/ui/gfx/vector_icons/aggregate_vector_icons.py#newcode85 ui/gfx/vector_icons/aggregate_vector_icons.py:85: # different directories will have a different VectorIconId ...
4 years, 5 months ago (2016-07-06 20:54:49 UTC) #3
tdanderson
https://codereview.chromium.org/2129683002/diff/1/ui/gfx/vector_icons/aggregate_vector_icons.py File ui/gfx/vector_icons/aggregate_vector_icons.py (right): https://codereview.chromium.org/2129683002/diff/1/ui/gfx/vector_icons/aggregate_vector_icons.py#newcode85 ui/gfx/vector_icons/aggregate_vector_icons.py:85: # different directories will have a different VectorIconId in ...
4 years, 5 months ago (2016-07-06 23:52:00 UTC) #4
Evan Stade
On 2016/07/06 23:52:00, tdanderson wrote: > https://codereview.chromium.org/2129683002/diff/1/ui/gfx/vector_icons/aggregate_vector_icons.py > File ui/gfx/vector_icons/aggregate_vector_icons.py (right): > > https://codereview.chromium.org/2129683002/diff/1/ui/gfx/vector_icons/aggregate_vector_icons.py#newcode85 > ...
4 years, 5 months ago (2016-07-07 15:13:46 UTC) #5
brettw
lgtm https://codereview.chromium.org/2129683002/diff/1/.gn File .gn (right): https://codereview.chromium.org/2129683002/diff/1/.gn#newcode334 .gn:334: "//ui/gfx/BUILD.gn", I'm OK with this for now since ...
4 years, 5 months ago (2016-07-07 19:28:34 UTC) #6
tdanderson
On 2016/07/07 15:13:46, Evan Stade wrote: > On 2016/07/06 23:52:00, tdanderson wrote: > > > ...
4 years, 5 months ago (2016-07-07 23:22:16 UTC) #7
Evan Stade
On 2016/07/07 23:22:16, tdanderson wrote: > On 2016/07/07 15:13:46, Evan Stade wrote: > > On ...
4 years, 5 months ago (2016-07-08 02:42:27 UTC) #8
Evan Stade
now that I think about it, this presents an actual functional difficulty. Consider the case ...
4 years, 5 months ago (2016-07-08 02:49:12 UTC) #9
tdanderson
https://codereview.chromium.org/2129683002/diff/1/.gn File .gn (right): https://codereview.chromium.org/2129683002/diff/1/.gn#newcode334 .gn:334: "//ui/gfx/BUILD.gn", On 2016/07/07 19:28:33, brettw (plz ping after 24h) ...
4 years, 5 months ago (2016-07-08 21:20:37 UTC) #11
Evan Stade
lgtm
4 years, 5 months ago (2016-07-08 21:25:26 UTC) #12
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/2129683002/20001
4 years, 5 months ago (2016-07-08 21:26:46 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 5 months ago (2016-07-08 22:33:23 UTC) #17
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-08 22:33:39 UTC) #18
commit-bot: I haz the power
4 years, 5 months ago (2016-07-08 22:34:40 UTC) #20
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/3664dfc4b6d8c46708c7ad2a9d95b8eb6ac710b1
Cr-Commit-Position: refs/heads/master@{#404512}

Powered by Google App Engine
This is Rietveld 408576698