| 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 }, | 8 }, |
| 9 'includes': [ | 9 'includes': [ |
| 10 '../build/common.gypi', | 10 '../build/common.gypi', |
| (...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 231 'rule_name': 'grit', | 231 'rule_name': 'grit', |
| 232 'extension': 'grd', | 232 'extension': 'grd', |
| 233 'inputs': [ | 233 'inputs': [ |
| 234 '../tools/grit/grit.py', | 234 '../tools/grit/grit.py', |
| 235 ], | 235 ], |
| 236 'variables': { | 236 'variables': { |
| 237 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/app', | 237 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/app', |
| 238 }, | 238 }, |
| 239 'outputs': [ | 239 'outputs': [ |
| 240 '<(SHARED_INTERMEDIATE_DIR)/app/grit/<(RULE_INPUT_ROOT).h', | 240 '<(SHARED_INTERMEDIATE_DIR)/app/grit/<(RULE_INPUT_ROOT).h', |
| 241 # TODO(benl) Generate this list from a helper script, like |
| 242 # repack_locales_cmd in chrome.gyp (see TODO(mmoss)) |
| 243 '<(SHARED_INTERMEDIATE_DIR)/app/<(RULE_INPUT_ROOT)_ar.pak', |
| 241 '<(SHARED_INTERMEDIATE_DIR)/app/<(RULE_INPUT_ROOT)_en-US.pak', | 244 '<(SHARED_INTERMEDIATE_DIR)/app/<(RULE_INPUT_ROOT)_en-US.pak', |
| 242 ], | 245 ], |
| 243 'action': ['python', '<@(_inputs)', '-i', '<(RULE_INPUT_PATH)', | 246 'action': ['python', '<@(_inputs)', '-i', '<(RULE_INPUT_PATH)', |
| 244 'build', '-o', '<(grit_out_dir)'], | 247 'build', '-o', '<(grit_out_dir)'], |
| 245 'message': 'Generating resources from <(RULE_INPUT_PATH)', | 248 'message': 'Generating resources from <(RULE_INPUT_PATH)', |
| 246 }, | 249 }, |
| 247 ], | 250 ], |
| 248 'sources': [ | 251 'sources': [ |
| 249 # Localizable resources. | 252 # Localizable resources. |
| 250 'resources/app_locale_settings.grd', | 253 'resources/app_locale_settings.grd', |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 338 'process_outputs_as_sources': 1, | 341 'process_outputs_as_sources': 1, |
| 339 'message': 'Generating appid information in <(SHARED_INTERMEDIAT
E_DIR)/chrome/appid.h' | 342 'message': 'Generating appid information in <(SHARED_INTERMEDIAT
E_DIR)/chrome/appid.h' |
| 340 }, | 343 }, |
| 341 ], | 344 ], |
| 342 }, | 345 }, |
| 343 ], | 346 ], |
| 344 ], | 347 ], |
| 345 }, | 348 }, |
| 346 ], | 349 ], |
| 347 } | 350 } |
| OLD | NEW |