| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'target_defaults': { | 5 'target_defaults': { |
| 6 'variables': { | 6 'variables': { |
| 7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 'enable_wexit_time_destructors': 1, | 8 'enable_wexit_time_destructors': 1, |
| 9 }, | 9 }, |
| 10 'include_dirs': [ | 10 'include_dirs': [ |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 'cloud_print_service_lib', | 114 'cloud_print_service_lib', |
| 115 ], | 115 ], |
| 116 'msvs_settings': { | 116 'msvs_settings': { |
| 117 'VCLinkerTool': { | 117 'VCLinkerTool': { |
| 118 'SubSystem': '1', # Set /SUBSYSTEM:CONSOLE | 118 'SubSystem': '1', # Set /SUBSYSTEM:CONSOLE |
| 119 'UACExecutionLevel': '2', # /level='requireAdministrator' | 119 'UACExecutionLevel': '2', # /level='requireAdministrator' |
| 120 'AdditionalDependencies': [ | 120 'AdditionalDependencies': [ |
| 121 'secur32.lib', | 121 'secur32.lib', |
| 122 ], | 122 ], |
| 123 }, | 123 }, |
| 124 'conditions': [ | |
| 125 ['clang==1', { | |
| 126 # atlapp.h contains a global "using namespace WTL;". | |
| 127 # TODO: Remove once cloud_print_service.cc no longer depends on | |
| 128 # atlapp.h, http://crbug.com/5027 | |
| 129 'VCCLCompilerTool': { | |
| 130 'AdditionalOptions': ['-Wno-header-hygiene'], | |
| 131 }, | |
| 132 }], | |
| 133 ], | |
| 134 }, | 124 }, |
| 135 }, | 125 }, |
| 136 { | 126 { |
| 137 'target_name': 'cloud_print_service_config', | 127 'target_name': 'cloud_print_service_config', |
| 138 'type': 'executable', | 128 'type': 'executable', |
| 139 'sources': [ | 129 'sources': [ |
| 140 '<(SHARED_INTERMEDIATE_DIR)/cloud_print/cloud_print_service_config_exe_v
ersion.rc', | 130 '<(SHARED_INTERMEDIATE_DIR)/cloud_print/cloud_print_service_config_exe_v
ersion.rc', |
| 141 'win/cloud_print_service_config.cc', | 131 'win/cloud_print_service_config.cc', |
| 142 ], | 132 ], |
| 143 'includes': [ | 133 'includes': [ |
| 144 'win/service_resources.gypi' | 134 'win/service_resources.gypi' |
| 145 ], | 135 ], |
| 146 'dependencies': [ | 136 'dependencies': [ |
| 147 '<(DEPTH)/cloud_print/common/common.gyp:cloud_print_install_lib', | 137 '<(DEPTH)/cloud_print/common/common.gyp:cloud_print_install_lib', |
| 148 'cloud_print_service_lib', | 138 'cloud_print_service_lib', |
| 149 ], | 139 ], |
| 150 'msvs_settings': { | 140 'msvs_settings': { |
| 151 'VCManifestTool': { | 141 'VCManifestTool': { |
| 152 'AdditionalManifestFiles': [ | 142 'AdditionalManifestFiles': [ |
| 153 'common-controls.manifest', | 143 'common-controls.manifest', |
| 154 ], | 144 ], |
| 155 }, | 145 }, |
| 156 'VCLinkerTool': { | 146 'VCLinkerTool': { |
| 157 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS | 147 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS |
| 158 'UACExecutionLevel': '2', # /level='requireAdministrator' | 148 'UACExecutionLevel': '2', # /level='requireAdministrator' |
| 159 'AdditionalDependencies': [ | 149 'AdditionalDependencies': [ |
| 160 'secur32.lib', | 150 'secur32.lib', |
| 161 ], | 151 ], |
| 162 }, | 152 }, |
| 153 'conditions': [ |
| 154 ['clang==1', { |
| 155 # atlapp.h contains a global "using namespace WTL;". |
| 156 # TODO: Remove once cloud_print_service_config.cc no longer depends |
| 157 # on atlapp.h, http://crbug.com/5027 |
| 158 'VCCLCompilerTool': { |
| 159 'AdditionalOptions': ['-Wno-header-hygiene'], |
| 160 }, |
| 161 }], |
| 162 ], |
| 163 }, | 163 }, |
| 164 }, | 164 }, |
| 165 { | 165 { |
| 166 'target_name': 'cloud_print_service_setup', | 166 'target_name': 'cloud_print_service_setup', |
| 167 'type': 'executable', | 167 'type': 'executable', |
| 168 'sources': [ | 168 'sources': [ |
| 169 '<(SHARED_INTERMEDIATE_DIR)/cloud_print/cloud_print_service_setup_exe_ve
rsion.rc', | 169 '<(SHARED_INTERMEDIATE_DIR)/cloud_print/cloud_print_service_setup_exe_ve
rsion.rc', |
| 170 'win/installer.cc', | 170 'win/installer.cc', |
| 171 'win/installer.h', | 171 'win/installer.h', |
| 172 ], | 172 ], |
| 173 'includes': [ | 173 'includes': [ |
| 174 'win/service_resources.gypi' | 174 'win/service_resources.gypi' |
| 175 ], | 175 ], |
| 176 'dependencies': [ | 176 'dependencies': [ |
| 177 '<(DEPTH)/cloud_print/common/common.gyp:cloud_print_install_lib', | 177 '<(DEPTH)/cloud_print/common/common.gyp:cloud_print_install_lib', |
| 178 'cloud_print_service_lib', | 178 'cloud_print_service_lib', |
| 179 ], | 179 ], |
| 180 'msvs_settings': { | 180 'msvs_settings': { |
| 181 'VCLinkerTool': { | 181 'VCLinkerTool': { |
| 182 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS | 182 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS |
| 183 'UACExecutionLevel': '2', # /level='requireAdministrator' | 183 'UACExecutionLevel': '2', # /level='requireAdministrator' |
| 184 'AdditionalDependencies': [ | 184 'AdditionalDependencies': [ |
| 185 'secur32.lib', | 185 'secur32.lib', |
| 186 ], | 186 ], |
| 187 }, | 187 }, |
| 188 }, | 188 }, |
| 189 }, | 189 }, |
| 190 ], | 190 ], |
| 191 } | 191 } |
| OLD | NEW |