| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 'variables': { | 8 'variables': { |
| 9 'version_py_path': '<(DEPTH)/build/util/version.py', | 9 'version_py_path': '<(DEPTH)/build/util/version.py', |
| 10 'version_path': 'VERSION', | 10 'version_path': 'VERSION', |
| 11 }, | 11 }, |
| 12 'version_py_path': '<(version_py_path) -f', | 12 'version_py_path': '<(version_py_path) -f', |
| 13 'version_path': '<(version_path)', | 13 'version_path': '<(version_path)', |
| 14 }, | 14 }, |
| 15 'includes': [ | 15 'includes': [ |
| 16 '../build/util/version.gypi', | 16 '../build/util/version.gypi', |
| 17 ], | 17 ], |
| 18 'targets': [ | 18 'targets': [ |
| 19 { | 19 { |
| 20 # GN: Thes targets for this are split out depending on when the specific |
| 21 # .ver file is used. For example, see: |
| 22 # //cloud_print/sevice/win:exe_version |
| 20 'target_name': 'cloud_print_version_resources', | 23 'target_name': 'cloud_print_version_resources', |
| 21 'type': 'none', | 24 'type': 'none', |
| 22 'variables': { | 25 'variables': { |
| 23 'output_dir': 'cloud_print', | 26 'output_dir': 'cloud_print', |
| 24 'branding_path': '<(DEPTH)/chrome/app/theme/<(branding_path_component)/B
RANDING', | 27 'branding_path': '<(DEPTH)/chrome/app/theme/<(branding_path_component)/B
RANDING', |
| 25 'template_input_path': '../chrome/app/chrome_version.rc.version', | 28 'template_input_path': '../chrome/app/chrome_version.rc.version', |
| 26 'extra_variable_files_arguments': [ '-f', 'BRANDING' ], | 29 'extra_variable_files_arguments': [ '-f', 'BRANDING' ], |
| 27 'extra_variable_files': [ 'BRANDING' ], # NOTE: matches that above | 30 'extra_variable_files': [ 'BRANDING' ], # NOTE: matches that above |
| 28 }, | 31 }, |
| 29 'direct_dependent_settings': { | 32 'direct_dependent_settings': { |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 '-f', 'BRANDING', | 83 '-f', 'BRANDING', |
| 81 '<(DEPTH)/chrome/version.h.in', | 84 '<(DEPTH)/chrome/version.h.in', |
| 82 '<@(_outputs)', | 85 '<@(_outputs)', |
| 83 ], | 86 ], |
| 84 'message': 'Generating version header file: <@(_outputs)', | 87 'message': 'Generating version header file: <@(_outputs)', |
| 85 }, | 88 }, |
| 86 ], | 89 ], |
| 87 }, | 90 }, |
| 88 ], | 91 ], |
| 89 } | 92 } |
| OLD | NEW |