| 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 # Define the common dependencies that contain all the actual | 9 # Define the common dependencies that contain all the actual |
| 10 # Chromium functionality. This list gets pulled in below by | 10 # Chromium functionality. This list gets pulled in below by |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 # files, which angers scons and confuses vstudio. | 207 # files, which angers scons and confuses vstudio. |
| 208 # One alternative would be to turn this into several actions, | 208 # One alternative would be to turn this into several actions, |
| 209 # but that would be rather verbose. | 209 # but that would be rather verbose. |
| 210 ], | 210 ], |
| 211 'action': ['python', '../tools/grit/grit.py', '-i', | 211 'action': ['python', '../tools/grit/grit.py', '-i', |
| 212 '<(RULE_INPUT_PATH)', | 212 '<(RULE_INPUT_PATH)', |
| 213 'build', '-o', '<(grit_out_dir)', | 213 'build', '-o', '<(grit_out_dir)', |
| 214 '-D', '<(chrome_build)', | 214 '-D', '<(chrome_build)', |
| 215 '-E', '<(branded_env)', | 215 '-E', '<(branded_env)', |
| 216 ], | 216 ], |
| 217 'conditions': [ |
| 218 ['use_titlecase_in_grd_files==1', { |
| 219 'action': ['-D', 'use_titlecase'], |
| 220 }], |
| 221 ], |
| 217 'message': 'Generating resources from <(RULE_INPUT_PATH)', | 222 'message': 'Generating resources from <(RULE_INPUT_PATH)', |
| 218 }, | 223 }, |
| 219 ], | 224 ], |
| 220 'sources': [ | 225 'sources': [ |
| 221 '<@(chrome_resources_grds)', | 226 '<@(chrome_resources_grds)', |
| 222 '<@(chrome_resources_inputs)', | 227 '<@(chrome_resources_inputs)', |
| 223 ], | 228 ], |
| 224 'direct_dependent_settings': { | 229 'direct_dependent_settings': { |
| 225 'include_dirs': [ | 230 'include_dirs': [ |
| 226 '<(grit_out_dir)', | 231 '<(grit_out_dir)', |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 287 # See comment in chrome_resources as to why. | 292 # See comment in chrome_resources as to why. |
| 288 ], | 293 ], |
| 289 'action': ['python', '../tools/grit/grit.py', '-i', | 294 'action': ['python', '../tools/grit/grit.py', '-i', |
| 290 '<(RULE_INPUT_PATH)', | 295 '<(RULE_INPUT_PATH)', |
| 291 'build', '-o', '<(grit_out_dir)', | 296 'build', '-o', '<(grit_out_dir)', |
| 292 '-D', '<(chrome_build)'], | 297 '-D', '<(chrome_build)'], |
| 293 'conditions': [ | 298 'conditions': [ |
| 294 ['chromeos==1', { | 299 ['chromeos==1', { |
| 295 'action': ['-D', 'chromeos'], | 300 'action': ['-D', 'chromeos'], |
| 296 }], | 301 }], |
| 302 ['use_titlecase_in_grd_files==1', { |
| 303 'action': ['-D', 'use_titlecase'], |
| 304 }], |
| 297 ], | 305 ], |
| 298 'message': 'Generating resources from <(RULE_INPUT_PATH)', | 306 'message': 'Generating resources from <(RULE_INPUT_PATH)', |
| 299 }, | 307 }, |
| 300 ], | 308 ], |
| 301 'sources': [ | 309 'sources': [ |
| 302 '<@(chrome_strings_grds)', | 310 '<@(chrome_strings_grds)', |
| 303 '<@(chrome_strings_inputs)', | 311 '<@(chrome_strings_inputs)', |
| 304 ], | 312 ], |
| 305 'direct_dependent_settings': { | 313 'direct_dependent_settings': { |
| 306 'include_dirs': [ | 314 'include_dirs': [ |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 341 'action': [ | 349 'action': [ |
| 342 'python', '<(grit_path)', | 350 'python', '<(grit_path)', |
| 343 '-i', '<(input_path)', 'build', | 351 '-i', '<(input_path)', 'build', |
| 344 '-o', '<(grit_out_dir)', | 352 '-o', '<(grit_out_dir)', |
| 345 '-D', '<(chrome_build)' | 353 '-D', '<(chrome_build)' |
| 346 ], | 354 ], |
| 347 'conditions': [ | 355 'conditions': [ |
| 348 ['chromeos==1', { | 356 ['chromeos==1', { |
| 349 'action': ['-D', 'chromeos'], | 357 'action': ['-D', 'chromeos'], |
| 350 }], | 358 }], |
| 359 ['use_titlecase_in_grd_files==1', { |
| 360 'action': ['-D', 'use_titlecase'], |
| 361 }], |
| 351 ], | 362 ], |
| 352 'message': 'Generating resources from <(input_path)', | 363 'message': 'Generating resources from <(input_path)', |
| 353 }, | 364 }, |
| 354 ], | 365 ], |
| 355 'direct_dependent_settings': { | 366 'direct_dependent_settings': { |
| 356 'include_dirs': [ | 367 'include_dirs': [ |
| 357 '<(grit_out_dir)', | 368 '<(grit_out_dir)', |
| 358 ], | 369 ], |
| 359 }, | 370 }, |
| 360 'conditions': [ | 371 'conditions': [ |
| (...skipping 6240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6601 'dependencies': [ | 6612 'dependencies': [ |
| 6602 '../third_party/pthreads-win32/pthreads.gyp:pthreads', | 6613 '../third_party/pthreads-win32/pthreads.gyp:pthreads', |
| 6603 ], | 6614 ], |
| 6604 }], | 6615 }], |
| 6605 ], | 6616 ], |
| 6606 }, | 6617 }, |
| 6607 ], # targets when chrome_personalization==1 and use_syncapi_stub==0 | 6618 ], # targets when chrome_personalization==1 and use_syncapi_stub==0 |
| 6608 }], | 6619 }], |
| 6609 ], # 'conditions' | 6620 ], # 'conditions' |
| 6610 } | 6621 } |
| OLD | NEW |