OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'variables': { | 5 'variables': { |
6 'chromium_code': 1, | 6 'chromium_code': 1, |
7 | 7 |
8 # Define the common dependencies that contain all the actual | 8 # Define the common dependencies that contain all the actual |
9 # Chromium functionality. This list gets pulled in below by | 9 # Chromium functionality. This list gets pulled in below by |
10 # the link of the actual chrome (or chromium) executable on | 10 # the link of the actual chrome (or chromium) executable on |
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
408 'app/chrome_exe.ver', | 408 'app/chrome_exe.ver', |
409 'app/chrome_dll.ver', | 409 'app/chrome_dll.ver', |
410 'app/nacl64_exe.ver', | 410 'app/nacl64_exe.ver', |
411 'app/other.ver', | 411 'app/other.ver', |
412 ], | 412 ], |
413 'includes': [ | 413 'includes': [ |
414 'version_resource_rules.gypi', | 414 'version_resource_rules.gypi', |
415 ], | 415 ], |
416 }, | 416 }, |
417 { | 417 { |
| 418 # GN version: //chrome:version_header |
| 419 'target_name': 'chrome_version_header', |
| 420 'type': 'none', |
| 421 'hard_dependency': 1, |
| 422 'actions': [ |
| 423 { |
| 424 'action_name': 'version_header', |
| 425 'variables': { |
| 426 'lastchange_path': |
| 427 '<(DEPTH)/build/util/LASTCHANGE', |
| 428 'branding_path': 'app/theme/<(branding_path_component)/BRANDING'
, |
| 429 }, |
| 430 'inputs': [ |
| 431 '<(version_path)', |
| 432 '<(branding_path)', |
| 433 '<(lastchange_path)', |
| 434 'version.h.in', |
| 435 ], |
| 436 'outputs': [ |
| 437 '<(SHARED_INTERMEDIATE_DIR)/version.h', |
| 438 ], |
| 439 'action': [ |
| 440 'python', |
| 441 '<(version_py_path)', |
| 442 '-f', '<(version_path)', |
| 443 '-f', '<(branding_path)', |
| 444 '-f', '<(lastchange_path)', |
| 445 'version.h.in', |
| 446 '<@(_outputs)', |
| 447 ], |
| 448 'message': 'Generating version header file: <@(_outputs)', |
| 449 }, |
| 450 ], |
| 451 }, |
| 452 { |
418 'target_name': 'crash_service', | 453 'target_name': 'crash_service', |
419 'type': 'executable', | 454 'type': 'executable', |
420 'dependencies': [ | 455 'dependencies': [ |
421 'installer_util', | 456 'installer_util', |
422 '../base/base.gyp:base', | 457 '../base/base.gyp:base', |
423 '../chrome/common_constants.gyp:common_constants', | 458 '../chrome/common_constants.gyp:common_constants', |
424 '../components/components.gyp:breakpad_crash_service', | 459 '../components/components.gyp:breakpad_crash_service', |
425 ], | 460 ], |
426 'include_dirs': [ | 461 'include_dirs': [ |
427 '..', | 462 '..', |
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
793 '<(DEPTH)/third_party/kasko' | 828 '<(DEPTH)/third_party/kasko' |
794 ], | 829 ], |
795 }, | 830 }, |
796 }, | 831 }, |
797 }, | 832 }, |
798 }, | 833 }, |
799 ], | 834 ], |
800 }], | 835 }], |
801 ], # 'conditions' | 836 ], # 'conditions' |
802 } | 837 } |
OLD | NEW |