OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 'conditions': [ |
| 13 ['kasko==1', { |
| 14 'targets': [ |
| 15 { |
| 16 'target_name': 'kasko_util', |
| 17 'type': 'static_library', |
| 18 'sources': [ |
| 19 'kasko_util.cc', |
| 20 'kasko_util.h', |
| 21 ], |
| 22 'dependencies': [ |
| 23 'chrome_watcher_client', |
| 24 '../base/base.gyp:base', |
| 25 '../third_party/kasko/kasko.gyp:kasko', |
| 26 '../components/components.gyp:crash_component' |
| 27 ], |
| 28 'export_dependent_settings': [ |
| 29 '../third_party/kasko/kasko.gyp:kasko', |
| 30 ], |
| 31 }, |
| 32 ], |
| 33 }, { # 'kasko==0' |
| 34 'targets': [ |
| 35 { |
| 36 'target_name': 'kasko_util', |
| 37 'type': 'none', |
| 38 'dependencies': [ |
| 39 '../third_party/kasko/kasko.gyp:kasko_features', |
| 40 ], |
| 41 }, |
| 42 ], |
| 43 }], |
| 44 ], # 'conditions' |
12 'targets': [ | 45 'targets': [ |
13 { | 46 { |
14 'target_name': 'chrome_watcher_resources', | 47 'target_name': 'chrome_watcher_resources', |
15 'type': 'none', | 48 'type': 'none', |
16 'conditions': [ | 49 'conditions': [ |
17 ['branding == "Chrome"', { | 50 ['branding == "Chrome"', { |
18 'variables': { | 51 'variables': { |
19 'branding_path': '../app/theme/google_chrome/BRANDING', | 52 'branding_path': '../app/theme/google_chrome/BRANDING', |
20 }, | 53 }, |
21 }, { # else branding!="Chrome" | 54 }, { # else branding!="Chrome" |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 '../..', | 87 '../..', |
55 ], | 88 ], |
56 'sources': [ | 89 'sources': [ |
57 '<(SHARED_INTERMEDIATE_DIR)/chrome_watcher/chrome_watcher_version.rc', | 90 '<(SHARED_INTERMEDIATE_DIR)/chrome_watcher/chrome_watcher_version.rc', |
58 'chrome_watcher.def', | 91 'chrome_watcher.def', |
59 'chrome_watcher_main.cc', | 92 'chrome_watcher_main.cc', |
60 ], | 93 ], |
61 'dependencies': [ | 94 'dependencies': [ |
62 'chrome_watcher_client', | 95 'chrome_watcher_client', |
63 'chrome_watcher_resources', | 96 'chrome_watcher_resources', |
| 97 'kasko_util', |
64 'installer_util', | 98 'installer_util', |
65 '../base/base.gyp:base', | 99 '../base/base.gyp:base', |
66 '../components/components.gyp:browser_watcher', | 100 '../components/components.gyp:browser_watcher', |
67 '../third_party/kasko/kasko.gyp:kasko', | |
68 '../components/components.gyp:crash_component' | |
69 ], | 101 ], |
70 'msvs_settings': { | 102 'msvs_settings': { |
71 'VCLinkerTool': { | 103 'VCLinkerTool': { |
72 # Set /SUBSYSTEM:WINDOWS. | 104 # Set /SUBSYSTEM:WINDOWS. |
73 'SubSystem': '2', | 105 'SubSystem': '2', |
74 }, | 106 }, |
75 }, | 107 }, |
76 }, | 108 }, |
77 ], | 109 ], |
78 } | 110 } |
OLD | NEW |