OLD | NEW |
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 'grit_info_cmd': ['python', '../tools/grit/grit_info.py'], | 8 'grit_info_cmd': ['python', '../tools/grit/grit_info.py'], |
9 'grit_cmd': ['python', '../tools/grit/grit.py'], | 9 'grit_cmd': ['python', '../tools/grit/grit.py'], |
10 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/gfx', | 10 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/gfx', |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 'inputs': [ | 193 'inputs': [ |
194 '<!@(<(grit_info_cmd) --inputs <(input_path))', | 194 '<!@(<(grit_info_cmd) --inputs <(input_path))', |
195 ], | 195 ], |
196 'outputs': [ | 196 'outputs': [ |
197 '<!@(<(grit_info_cmd) --outputs \'<(grit_out_dir)\' <(input_path))', | 197 '<!@(<(grit_info_cmd) --outputs \'<(grit_out_dir)\' <(input_path))', |
198 ], | 198 ], |
199 'action': [ | 199 'action': [ |
200 '<@(grit_cmd)', | 200 '<@(grit_cmd)', |
201 '-i', '<(input_path)', 'build', | 201 '-i', '<(input_path)', 'build', |
202 '-o', '<(grit_out_dir)', | 202 '-o', '<(grit_out_dir)', |
203 ], | 203 '<@(grit_defines)', |
204 'conditions': [ | |
205 ['use_titlecase_in_grd_files==1', { | |
206 'action': ['-D', 'use_titlecase'], | |
207 }], | |
208 ], | 204 ], |
209 'message': 'Generating resources from <(input_path)', | 205 'message': 'Generating resources from <(input_path)', |
210 }, | 206 }, |
211 ], | 207 ], |
212 'direct_dependent_settings': { | 208 'direct_dependent_settings': { |
213 'include_dirs': [ | 209 'include_dirs': [ |
214 '<(grit_out_dir)', | 210 '<(grit_out_dir)', |
215 ], | 211 ], |
216 }, | 212 }, |
217 'conditions': [ | 213 'conditions': [ |
218 ['OS=="win"', { | 214 ['OS=="win"', { |
219 'dependencies': ['../build/win/system.gyp:cygwin'], | 215 'dependencies': ['../build/win/system.gyp:cygwin'], |
220 }], | 216 }], |
221 ], | 217 ], |
222 }, | 218 }, |
223 | 219 |
224 ], | 220 ], |
225 } | 221 } |
226 | 222 |
227 # Local Variables: | 223 # Local Variables: |
228 # tab-width:2 | 224 # tab-width:2 |
229 # indent-tabs-mode:nil | 225 # indent-tabs-mode:nil |
230 # End: | 226 # End: |
231 # vim: set expandtab tabstop=2 shiftwidth=2: | 227 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |