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': '../tools/build/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 '../chrome/version.gypi', | 16 '../build/util/version.gypi', |
17 ], | 17 ], |
18 'targets': [ | 18 'targets': [ |
19 { | 19 { |
20 'target_name': 'cloud_print_version_resources', | 20 'target_name': 'cloud_print_version_resources', |
21 'type': 'none', | 21 'type': 'none', |
22 'conditions': [ | 22 'conditions': [ |
23 ['branding == "Chrome"', { | 23 ['branding == "Chrome"', { |
24 'variables': { | 24 'variables': { |
25 'branding_path': '<(DEPTH)/chrome/app/theme/google_chrome/BRANDING'
, | 25 'branding_path': '<(DEPTH)/chrome/app/theme/google_chrome/BRANDING'
, |
26 }, | 26 }, |
27 }, { # else branding!="Chrome" | 27 }, { # else branding!="Chrome" |
28 'variables': { | 28 'variables': { |
29 'branding_path': '<(DEPTH)/chrome/app/theme/chromium/BRANDING', | 29 'branding_path': '<(DEPTH)/chrome/app/theme/chromium/BRANDING', |
30 }, | 30 }, |
31 }], | 31 }], |
32 ], | 32 ], |
33 'variables': { | 33 'variables': { |
34 'output_dir': 'cloud_print', | 34 'output_dir': 'cloud_print', |
35 'template_input_path': '../chrome/app/chrome_version.rc.version', | 35 'template_input_path': '../chrome/app/chrome_version.rc.version', |
36 'extra_variable_files_arguments': [ '-f', 'BRANDING' ], | 36 'extra_variable_files_arguments': [ '-f', 'BRANDING' ], |
37 'extra_variable_files': [ 'BRANDING' ], # NOTE: matches that above | 37 'extra_variable_files': [ 'BRANDING' ], # NOTE: matches that above |
38 }, | 38 }, |
39 'direct_dependent_settings': { | 39 'direct_dependent_settings': { |
40 'include_dirs': [ | 40 'include_dirs': [ |
41 '<(SHARED_INTERMEDIATE_DIR)/<(output_dir)', | 41 '<(SHARED_INTERMEDIATE_DIR)/<(output_dir)', |
42 ], | 42 ], |
43 }, | 43 }, |
44 'sources': [ | 44 'sources': [ |
45 'service/win/cloud_print_service_exe.ver', | 45 'service/win/cloud_print_service_exe.ver', |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 '-f', 'BRANDING', | 100 '-f', 'BRANDING', |
101 '<(DEPTH)/chrome/version.h.in', | 101 '<(DEPTH)/chrome/version.h.in', |
102 '<@(_outputs)', | 102 '<@(_outputs)', |
103 ], | 103 ], |
104 'message': 'Generating version header file: <@(_outputs)', | 104 'message': 'Generating version header file: <@(_outputs)', |
105 }, | 105 }, |
106 ], | 106 ], |
107 }, | 107 }, |
108 ], | 108 ], |
109 } | 109 } |
OLD | NEW |