diff options
author | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-07 19:04:43 +0000 |
---|---|---|
committer | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-07 19:04:43 +0000 |
commit | bb6aba3a90b104b7df841f15d00f6f31d580ac71 (patch) | |
tree | 3e1ab96bcaaf9114acc6907f99de2fe1095c6ec8 /webkit/glue/webkit_glue.gypi | |
parent | 674731cacddac05a7ddf1f333defe22bb5be8e1b (diff) | |
download | chromium_src-bb6aba3a90b104b7df841f15d00f6f31d580ac71.zip chromium_src-bb6aba3a90b104b7df841f15d00f6f31d580ac71.tar.gz chromium_src-bb6aba3a90b104b7df841f15d00f6f31d580ac71.tar.bz2 |
Refactor grit -D flags into a gyp variable so we don't
have to repeat the logic for it in a bunch of different places.
I had to add another level of variables{} so I could use use_titlecase_in_grd_files in a condition. I also removed some quotes around default values since that seems to be the more common way to express boolean values.
BUG=68028
Review URL: http://codereview.chromium.org/6070011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70757 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webkit_glue.gypi')
-rw-r--r-- | webkit/glue/webkit_glue.gypi | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/webkit/glue/webkit_glue.gypi b/webkit/glue/webkit_glue.gypi index 7513d70..181ea91 100644 --- a/webkit/glue/webkit_glue.gypi +++ b/webkit/glue/webkit_glue.gypi @@ -37,7 +37,8 @@ ], 'action': ['<@(grit_cmd)', '-i', '<(input_path)', 'build', - '-o', '<(grit_out_dir)'], + '-o', '<(grit_out_dir)', + '<@(grit_defines)'], 'message': 'Generating resources from <(input_path)', }, { @@ -53,7 +54,8 @@ ], 'action': ['<@(grit_cmd)', '-i', '<(input_path)', 'build', - '-o', '<(grit_out_dir)'], + '-o', '<(grit_out_dir)', + '<@(grit_defines)'], 'message': 'Generating resources from <(input_path)', }, ], @@ -89,7 +91,8 @@ ], 'action': ['<@(grit_cmd)', '-i', '<(input_path)', 'build', - '-o', '<(grit_out_dir)'], + '-o', '<(grit_out_dir)', + '<@(grit_defines)'], 'message': 'Generating resources from <(input_path)', }, ], |