OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 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 26 matching lines...) Expand all Loading... |
37 ['enable_extensions==0', { | 37 ['enable_extensions==0', { |
38 'sources/': [ | 38 'sources/': [ |
39 ['exclude', '^apps/'], | 39 ['exclude', '^apps/'], |
40 ], | 40 ], |
41 }], | 41 }], |
42 ], | 42 ], |
43 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 43 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
44 'msvs_disabled_warnings': [ 4267, ], | 44 'msvs_disabled_warnings': [ 4267, ], |
45 }, | 45 }, |
46 ], | 46 ], |
| 47 'conditions': [ |
| 48 ['OS=="win"', { |
| 49 'targets': [ |
| 50 { |
| 51 'target_name': 'app_host', |
| 52 'type': 'executable', |
| 53 'include_dirs': [ |
| 54 '..', |
| 55 ], |
| 56 'direct_dependent_settings': { |
| 57 'include_dirs': [ |
| 58 '..', |
| 59 ], |
| 60 }, |
| 61 'dependencies': [ |
| 62 '<(DEPTH)/base/base.gyp:base', |
| 63 '<(DEPTH)/chrome/chrome.gyp:chrome_version_resources', |
| 64 '<(DEPTH)/chrome/chrome.gyp:launcher_support', |
| 65 '<(DEPTH)/google_update/google_update.gyp:google_update', |
| 66 ], |
| 67 'sources': [ |
| 68 'app_host/app_host.rc', |
| 69 'app_host/app_host_main.cc', |
| 70 'app_host/app_host_resource.h', |
| 71 'app_host/binaries_installer.cc', |
| 72 'app_host/binaries_installer.h', |
| 73 'app_host/update.cc', |
| 74 'app_host/update.h', |
| 75 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/app_host_exe_version.rc', |
| 76 ], |
| 77 'msvs_settings': { |
| 78 'VCLinkerTool': { |
| 79 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS |
| 80 }, |
| 81 }, |
| 82 }, |
| 83 ], |
| 84 },], # 'OS=="win"' |
| 85 ], # 'conditions' |
47 } | 86 } |
OLD | NEW |