| 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 ], | 58 ], |
| 59 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 59 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 60 'msvs_disabled_warnings': [ 4267, ], | 60 'msvs_disabled_warnings': [ 4267, ], |
| 61 }, | 61 }, |
| 62 ], | 62 ], |
| 63 'conditions': [ | 63 'conditions': [ |
| 64 ['OS=="win"', | 64 ['OS=="win"', |
| 65 { | 65 { |
| 66 'targets': [ | 66 'targets': [ |
| 67 { | 67 { |
| 68 'target_name': 'app_host', | 68 'target_name': 'app_host_lib', |
| 69 'type': 'executable', | 69 'type': 'static_library', |
| 70 'include_dirs': [ | 70 'include_dirs': [ |
| 71 '..', | 71 '..', |
| 72 ], | 72 ], |
| 73 'direct_dependent_settings': { | 73 'direct_dependent_settings': { |
| 74 'include_dirs': [ | 74 'include_dirs': [ |
| 75 '..', | 75 '..', |
| 76 ], | 76 ], |
| 77 }, | 77 }, |
| 78 'dependencies': [ | 78 'dependencies': [ |
| 79 '../base/base.gyp:base', | 79 '../base/base.gyp:base', |
| 80 '../chrome/chrome.gyp:launcher_support', |
| 81 '../chrome/common_constants.gyp:common_constants', |
| 82 '../google_update/google_update.gyp:google_update', |
| 83 ], |
| 84 'sources': [ |
| 85 'app_host/binaries_installer.cc', |
| 86 'app_host/binaries_installer.h', |
| 87 'app_host/operation_launcher.cc', |
| 88 'app_host/operation_launcher.h', |
| 89 'app_host/update.cc', |
| 90 'app_host/update.h', |
| 91 ], |
| 92 }, |
| 93 { |
| 94 'target_name': 'app_host', |
| 95 'type': 'executable', |
| 96 'include_dirs': [ |
| 97 '..', |
| 98 ], |
| 99 'dependencies': [ |
| 100 '../base/base.gyp:base', |
| 80 '../chrome/chrome.gyp:chrome_version_resources', | 101 '../chrome/chrome.gyp:chrome_version_resources', |
| 81 '../chrome/chrome.gyp:launcher_support', | 102 '../chrome/chrome.gyp:launcher_support', |
| 82 '../google_update/google_update.gyp:google_update', | 103 'app_host_lib', |
| 83 ], | 104 ], |
| 84 'sources': [ | 105 'sources': [ |
| 85 'app_host/app_host.rc', | 106 'app_host/app_host.rc', |
| 86 'app_host/app_host_main.cc', | 107 'app_host/app_host_main.cc', |
| 87 'app_host/app_host_resource.h', | 108 'app_host/app_host_resource.h', |
| 88 'app_host/binaries_installer.cc', | |
| 89 'app_host/binaries_installer.h', | |
| 90 'app_host/update.cc', | |
| 91 'app_host/update.h', | |
| 92 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/app_host_exe_version.rc
', | 109 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/app_host_exe_version.rc
', |
| 93 ], | 110 ], |
| 94 'msvs_settings': { | 111 'msvs_settings': { |
| 95 'VCLinkerTool': { | 112 'VCLinkerTool': { |
| 96 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS | 113 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS |
| 97 }, | 114 }, |
| 98 }, | 115 }, |
| 99 }, | 116 }, |
| 117 { |
| 118 'target_name': 'test_operation', |
| 119 'type': 'executable', |
| 120 'include_dirs': [ |
| 121 '..', |
| 122 ], |
| 123 'dependencies': [ |
| 124 '../base/base.gyp:base', |
| 125 '../chrome/chrome.gyp:browser', |
| 126 '../chrome/common_constants.gyp:common_constants', |
| 127 ], |
| 128 'sources': [ |
| 129 'app_host/test_operation.cc', |
| 130 ], |
| 131 'msvs_settings': { |
| 132 'VCLinkerTool': { |
| 133 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS |
| 134 }, |
| 135 }, |
| 136 }, |
| 137 { |
| 138 'target_name': 'app_host_unittests', |
| 139 'type': '<(gtest_target_type)', |
| 140 'sources': [ |
| 141 ], |
| 142 'dependencies': [ |
| 143 '../base/base.gyp:run_all_unittests', |
| 144 '../testing/gtest.gyp:gtest', |
| 145 ] |
| 146 } |
| 147 |
| 148 |
| 100 ], | 149 ], |
| 101 }, | 150 }, |
| 102 ], # 'OS=="win"' | 151 ], # 'OS=="win"' |
| 103 ], # 'conditions' | 152 ], # 'conditions' |
| 104 } | 153 } |
| OLD | NEW |