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 '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': { |
| 28 'output_dir': 'caps', |
| 29 'template_input_path': '../../../app/chrome_version.rc.version', |
| 30 }, |
| 31 'sources': [ |
| 32 'caps.ver', |
| 33 ], |
| 34 'includes': [ |
| 35 '../../../version_resource_rules.gypi', |
| 36 ], |
| 37 }, |
| 38 { |
| 39 'target_name': 'caps', |
| 40 'type': 'executable', |
| 41 'include_dirs': [ |
| 42 '../..', |
| 43 ], |
| 44 'sources': [ |
| 45 'main_win.cc', |
| 46 '<(SHARED_INTERMEDIATE_DIR)/caps/caps_version.rc', |
| 47 ], |
| 48 'dependencies': [ |
| 49 'caps_resources', |
| 50 ], |
| 51 'msvs_settings': { |
| 52 'VCLinkerTool': { |
| 53 # Set /SUBSYSTEM:WINDOWS. |
| 54 'SubSystem': '2', |
| 55 }, |
| 56 }, |
| 57 }, |
| 58 ], |
| 59 } |
OLD | NEW |