OLD | NEW |
| (Empty) |
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 | |
3 # found in the LICENSE file. | |
4 { | |
5 'variables': { | |
6 'chromium_code': 1, | |
7 }, | |
8 'includes': [ | |
9 '../../../../build/util/version.gypi', | |
10 '../../../../build/win_precompile.gypi', | |
11 ], | |
12 'targets': [ | |
13 { | |
14 'target_name': 'caps_resources', | |
15 'type': 'none', | |
16 'variables': { | |
17 'branding_path': '../../../app/theme/<(branding_path_component)/BRANDING
', | |
18 'output_dir': 'caps', | |
19 'template_input_path': '../../../app/chrome_version.rc.version', | |
20 }, | |
21 'sources': [ | |
22 'caps.ver', | |
23 ], | |
24 'includes': [ | |
25 '../../../version_resource_rules.gypi', | |
26 ], | |
27 }, | |
28 { | |
29 'target_name': 'caps', | |
30 'type': 'executable', | |
31 'include_dirs': [ | |
32 '..', | |
33 ], | |
34 'sources': [ | |
35 '<(SHARED_INTERMEDIATE_DIR)/caps/caps_version.rc', | |
36 'exit_codes.h', | |
37 'logger_win.cc', | |
38 'logger_win.h', | |
39 'main_win.cc', | |
40 'process_singleton_win.cc', | |
41 'process_singleton_win.h', | |
42 ], | |
43 'dependencies': [ | |
44 'caps_resources', | |
45 '../../../../base/base.gyp:base', | |
46 '../../../../components/components.gyp:generate_version_info', | |
47 ], | |
48 'msvs_settings': { | |
49 'VCLinkerTool': { | |
50 # Set /SUBSYSTEM:WINDOWS. | |
51 'SubSystem': '2', | |
52 }, | |
53 }, | |
54 }, | |
55 ], | |
56 } | |
OLD | NEW |