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

Issue 691873002: Add support to override output_all_resource_defines from command line. (Closed)

Created:
6 years, 1 month ago by lliabraa
Modified:
6 years, 1 month ago
Reviewers:
newt (away)
CC:
grit-developer_googlegroups.com
Base URL:
https://chromium.googlesource.com/external/grit-i18n.git@master
Visibility:
Public.

Description

Add support to override output_all_resource_defines from command line. If --output_all_resource_defines or --nooutput_all_resource_defines is specified to grit's build tool, then the value in the .grd will be overridden. Because gyp sends the same args to grit_info.py and grit.py, this CL also updates grit_info.py to accept these arguments to avoid unsupported argument errors. BUG=428947 R=newt@chromium.org Committed: https://code.google.com/p/grit-i18n/source/detail?r=180

Patch Set 1 #

Total comments: 8

Patch Set 2 : add missing testdata files #

Patch Set 3 : update grit_into.py, usage #

Patch Set 4 : sync'd #

Patch Set 5 : fix bad merge #

Patch Set 6 : fix optparse typo in grit_into #

Patch Set 7 : fix command line option name #

Patch Set 8 : fix .grd, add testOutputAllResourceDefinesFalse #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -3 lines) Patch
M grit/node/misc.py View 1 chunk +5 lines, -0 lines 0 comments Download
M grit/testdata/whitelist_resources.grd View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M grit/tool/build.py View 1 2 3 4 5 6 4 chunks +19 lines, -1 line 0 comments Download
M grit/tool/build_unittest.py View 1 2 3 4 5 6 7 1 chunk +67 lines, -0 lines 0 comments Download
M grit_info.py View 1 2 3 4 5 1 chunk +6 lines, -0 lines 4 comments Download

Messages

Total messages: 11 (1 generated)
lliabraa
6 years, 1 month ago (2014-10-30 19:49:00 UTC) #2
newt (away)
https://codereview.chromium.org/691873002/diff/1/grit/tool/build.py File grit/tool/build.py (right): https://codereview.chromium.org/691873002/diff/1/grit/tool/build.py#newcode58 grit/tool/build.py:58: Usage: grit build [-o OUTPUTDIR] [-D NAME[=VAL]]* update this ...
6 years, 1 month ago (2014-10-30 20:16:21 UTC) #3
lliabraa
Thanks for the review. PTAL https://chromiumcodereview.appspot.com/691873002/diff/1/grit/tool/build.py File grit/tool/build.py (right): https://chromiumcodereview.appspot.com/691873002/diff/1/grit/tool/build.py#newcode58 grit/tool/build.py:58: Usage: grit build [-o ...
6 years, 1 month ago (2014-10-31 11:33:14 UTC) #4
lliabraa
I've sync's since landing my other grit CL and made a few fixes. This is ...
6 years, 1 month ago (2014-10-31 20:22:07 UTC) #5
lliabraa
On 2014/10/31 20:22:07, lliabraa wrote: > I've sync's since landing my other grit CL and ...
6 years, 1 month ago (2014-10-31 20:32:27 UTC) #6
newt (away)
lgtm after comments in grit_info.py https://chromiumcodereview.appspot.com/691873002/diff/140001/grit_info.py File grit_info.py (right): https://chromiumcodereview.appspot.com/691873002/diff/140001/grit_info.py#newcode115 grit_info.py:115: parser.add_option("--output-all-resource-defines", action="store_true", These arguments ...
6 years, 1 month ago (2014-11-03 19:00:46 UTC) #7
lliabraa
Thanks for the review. https://chromiumcodereview.appspot.com/691873002/diff/140001/grit_info.py File grit_info.py (right): https://chromiumcodereview.appspot.com/691873002/diff/140001/grit_info.py#newcode115 grit_info.py:115: parser.add_option("--output-all-resource-defines", action="store_true", On 2014/11/03 19:00:46, ...
6 years, 1 month ago (2014-11-03 20:10:19 UTC) #8
newt (away)
On 2014/11/03 20:10:19, lliabraa wrote: > Thanks for the review. > > https://chromiumcodereview.appspot.com/691873002/diff/140001/grit_info.py > File ...
6 years, 1 month ago (2014-11-03 21:08:17 UTC) #9
lliabraa
On 2014/11/03 21:08:17, newt wrote: > On 2014/11/03 20:10:19, lliabraa wrote: > > Thanks for ...
6 years, 1 month ago (2014-11-04 13:24:12 UTC) #10
newt (away)
6 years, 1 month ago (2014-11-04 18:51:52 UTC) #11
Message was sent while issue was closed.
Committed patchset #8 (id:140001) manually as 180 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698