OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 'includes': [ | 8 'includes': [ |
9 '../../../../build/util/version.gypi', | 9 '../../../../build/util/version.gypi', |
10 '../../../../build/win_precompile.gypi', | 10 '../../../../build/win_precompile.gypi', |
11 ], | 11 ], |
12 'targets': [ | 12 'targets': [ |
13 { | 13 { |
14 'target_name': 'caps_resources', | 14 'target_name': 'caps_resources', |
15 'type': 'none', | 15 'type': 'none', |
16 'conditions': [ | |
17 ['branding == "Chrome"', { | |
18 'variables': { | |
19 'branding_path': '../../../app/theme/google_chrome/BRANDING', | |
20 }, | |
21 }, { # else branding!="Chrome" | |
22 'variables': { | |
23 'branding_path': '../../../app/theme/chromium/BRANDING', | |
24 }, | |
25 }], | |
26 ], | |
27 'variables': { | 16 'variables': { |
| 17 'branding_path': '../../../app/theme/<(branding_path_component)/BRANDING
', |
28 'output_dir': 'caps', | 18 'output_dir': 'caps', |
29 'template_input_path': '../../../app/chrome_version.rc.version', | 19 'template_input_path': '../../../app/chrome_version.rc.version', |
30 }, | 20 }, |
31 'sources': [ | 21 'sources': [ |
32 'caps.ver', | 22 'caps.ver', |
33 ], | 23 ], |
34 'includes': [ | 24 'includes': [ |
35 '../../../version_resource_rules.gypi', | 25 '../../../version_resource_rules.gypi', |
36 ], | 26 ], |
37 }, | 27 }, |
(...skipping 19 matching lines...) Expand all Loading... |
57 ], | 47 ], |
58 'msvs_settings': { | 48 'msvs_settings': { |
59 'VCLinkerTool': { | 49 'VCLinkerTool': { |
60 # Set /SUBSYSTEM:WINDOWS. | 50 # Set /SUBSYSTEM:WINDOWS. |
61 'SubSystem': '2', | 51 'SubSystem': '2', |
62 }, | 52 }, |
63 }, | 53 }, |
64 }, | 54 }, |
65 ], | 55 ], |
66 } | 56 } |
OLD | NEW |