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 # TODO: remove this helper when we have loops in GYP | 7 # TODO: remove this helper when we have loops in GYP |
8 'apply_locales_cmd': ['python', '../chrome/tools/build/apply_locales.py',], | 8 'apply_locales_cmd': ['python', '../chrome/tools/build/apply_locales.py',], |
9 'chromium_code': 1, | 9 'chromium_code': 1, |
10 }, | 10 }, |
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/app', | 247 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/app', |
248 }, | 248 }, |
249 'outputs': [ | 249 'outputs': [ |
250 '<(SHARED_INTERMEDIATE_DIR)/app/grit/<(RULE_INPUT_ROOT).h', | 250 '<(SHARED_INTERMEDIATE_DIR)/app/grit/<(RULE_INPUT_ROOT).h', |
251 # TODO: remove this helper when we have loops in GYP | 251 # TODO: remove this helper when we have loops in GYP |
252 '>!@(<(apply_locales_cmd) \'<(SHARED_INTERMEDIATE_DIR)/app/<(RULE_IN
PUT_ROOT)_ZZLOCALE.pak\' <(locales))', | 252 '>!@(<(apply_locales_cmd) \'<(SHARED_INTERMEDIATE_DIR)/app/<(RULE_IN
PUT_ROOT)_ZZLOCALE.pak\' <(locales))', |
253 ], | 253 ], |
254 'action': ['python', '<@(_inputs)', '-i', '<(RULE_INPUT_PATH)', | 254 'action': ['python', '<@(_inputs)', '-i', '<(RULE_INPUT_PATH)', |
255 'build', '-o', '<(grit_out_dir)'], | 255 'build', '-o', '<(grit_out_dir)'], |
256 'message': 'Generating resources from <(RULE_INPUT_PATH)', | 256 'message': 'Generating resources from <(RULE_INPUT_PATH)', |
| 257 'conditions': [ |
| 258 ['use_titlecase_in_grd_files==1', { |
| 259 'action': ['-D', 'use_titlecase'], |
| 260 }], |
| 261 ], |
257 }, | 262 }, |
258 ], | 263 ], |
259 'sources': [ | 264 'sources': [ |
260 # Localizable resources. | 265 # Localizable resources. |
261 'resources/app_locale_settings.grd', | 266 'resources/app_locale_settings.grd', |
262 'resources/app_strings.grd', | 267 'resources/app_strings.grd', |
263 ], | 268 ], |
264 'direct_dependent_settings': { | 269 'direct_dependent_settings': { |
265 'include_dirs': [ | 270 'include_dirs': [ |
266 '<(SHARED_INTERMEDIATE_DIR)/app', | 271 '<(SHARED_INTERMEDIATE_DIR)/app', |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
349 'process_outputs_as_sources': 1, | 354 'process_outputs_as_sources': 1, |
350 'message': 'Generating appid information in <(SHARED_INTERMEDIAT
E_DIR)/chrome/appid.h' | 355 'message': 'Generating appid information in <(SHARED_INTERMEDIAT
E_DIR)/chrome/appid.h' |
351 }, | 356 }, |
352 ], | 357 ], |
353 }, | 358 }, |
354 ], | 359 ], |
355 ], | 360 ], |
356 }, | 361 }, |
357 ], | 362 ], |
358 } | 363 } |
OLD | NEW |