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 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'apps', | 8 'target_name': 'apps', |
9 'type': 'static_library', | 9 'type': 'static_library', |
10 'variables': { 'enable_wexit_time_destructors': 1, }, | 10 'variables': { 'enable_wexit_time_destructors': 1, }, |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 'sources/': [ | 88 'sources/': [ |
89 ['exclude', '^apps/'], | 89 ['exclude', '^apps/'], |
90 ], | 90 ], |
91 } | 91 } |
92 ], | 92 ], |
93 ], | 93 ], |
94 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 94 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
95 'msvs_disabled_warnings': [ 4267, ], | 95 'msvs_disabled_warnings': [ 4267, ], |
96 }, | 96 }, |
97 ], | 97 ], |
98 'conditions': [ | |
99 ['OS=="win"', | |
100 { | |
101 'targets': [ | |
102 { | |
103 'target_name': 'app_host', | |
104 'type': 'executable', | |
105 'include_dirs': [ | |
106 '..', | |
107 ], | |
108 'direct_dependent_settings': { | |
109 'include_dirs': [ | |
110 '..', | |
111 ], | |
112 }, | |
113 'dependencies': [ | |
114 '../base/base.gyp:base', | |
115 '../chrome/chrome.gyp:chrome_version_resources', | |
116 '../chrome/chrome.gyp:launcher_support', | |
117 '../google_update/google_update.gyp:google_update', | |
118 ], | |
119 'sources': [ | |
120 'app_host/app_host.rc', | |
121 'app_host/app_host_main.cc', | |
122 'app_host/app_host_resource.h', | |
123 'app_host/binaries_installer.cc', | |
124 'app_host/binaries_installer.h', | |
125 'app_host/update.cc', | |
126 'app_host/update.h', | |
127 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/app_host_exe_version.rc
', | |
128 ], | |
129 'msvs_settings': { | |
130 'VCLinkerTool': { | |
131 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS | |
132 }, | |
133 }, | |
134 }, | |
135 ], | |
136 }, | |
137 ], # 'OS=="win"' | |
138 ], # 'conditions' | |
139 } | 98 } |
OLD | NEW |