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

Issue 444053003: Respect output_all_resource_defines when generating resource maps. (Closed)

Created:
6 years, 4 months ago by Lei Zhang
Modified:
6 years, 4 months ago
Reviewers:
tony, Nico, Jói
CC:
grit-developer_googlegroups.com
Visibility:
Public.

Description

Respect output_all_resource_defines when generating structures in resource maps. BUG=chromium:333201 TEST=included unit test.

Patch Set 1 #

Total comments: 2

Patch Set 2 : with proper test #

Patch Set 3 : with resource_map.py #

Patch Set 4 : refactor #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -11 lines) Patch
M grit/format/resource_map.py View 1 2 3 1 chunk +11 lines, -11 lines 0 comments Download
M grit/format/resource_map_unittest.py View 1 1 chunk +59 lines, -0 lines 0 comments Download
M grit/node/base.py View 1 2 3 1 chunk +15 lines, -0 lines 0 comments Download
M grit/node/include.py View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M grit/node/message.py View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M grit/node/structure.py View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Lei Zhang
Not sure who has time to review this...
6 years, 4 months ago (2014-08-06 20:59:23 UTC) #1
tony
LGTM. Can you update the description to say that it wasn't working properly for <structures> ...
6 years, 4 months ago (2014-08-06 21:11:59 UTC) #2
tony
https://codereview.chromium.org/444053003/diff/1/grit/format/resource_map.py File grit/format/resource_map.py (right): https://codereview.chromium.org/444053003/diff/1/grit/format/resource_map.py#newcode115 grit/format/resource_map.py:115: message.MessageNode)): This code and the isinstance checks below are ...
6 years, 4 months ago (2014-08-06 21:13:31 UTC) #3
Lei Zhang
https://codereview.chromium.org/444053003/diff/1/grit/format/resource_map.py File grit/format/resource_map.py (right): https://codereview.chromium.org/444053003/diff/1/grit/format/resource_map.py#newcode115 grit/format/resource_map.py:115: message.MessageNode)): On 2014/08/06 21:13:31, tony wrote: > This code ...
6 years, 4 months ago (2014-08-06 21:41:08 UTC) #4
tony
Much better! LGTM. Do you need me to commit the change?
6 years, 4 months ago (2014-08-06 21:45:21 UTC) #5
Lei Zhang
On 2014/08/06 21:45:21, tony wrote: > Much better! LGTM. Do you need me to commit ...
6 years, 4 months ago (2014-08-06 21:49:08 UTC) #6
tony
6 years, 4 months ago (2014-08-06 21:54:52 UTC) #7
Running presubmit commit checks ...

Presubmit checks took 1.1s to calculate.

Presubmit checks passed.
Sending        grit/format/resource_map.py
Sending        grit/format/resource_map_unittest.py
Sending        grit/node/base.py
Sending        grit/node/include.py
Sending        grit/node/message.py
Sending        grit/node/structure.py
Transmitting file data ......
Committed revision 172.

Powered by Google App Engine
This is Rietveld 408576698