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 ], |
124 }, | 134 }, |
125 }, | 135 }, |
126 { | 136 { |
127 'target_name': 'cloud_print_service_config', | 137 'target_name': 'cloud_print_service_config', |
128 'type': 'executable', | 138 'type': 'executable', |
129 'sources': [ | 139 'sources': [ |
130 '<(SHARED_INTERMEDIATE_DIR)/cloud_print/cloud_print_service_config_exe_v
ersion.rc', | 140 '<(SHARED_INTERMEDIATE_DIR)/cloud_print/cloud_print_service_config_exe_v
ersion.rc', |
131 'win/cloud_print_service_config.cc', | 141 'win/cloud_print_service_config.cc', |
132 ], | 142 ], |
133 'includes': [ | 143 'includes': [ |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS | 182 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS |
173 'UACExecutionLevel': '2', # /level='requireAdministrator' | 183 'UACExecutionLevel': '2', # /level='requireAdministrator' |
174 'AdditionalDependencies': [ | 184 'AdditionalDependencies': [ |
175 'secur32.lib', | 185 'secur32.lib', |
176 ], | 186 ], |
177 }, | 187 }, |
178 }, | 188 }, |
179 }, | 189 }, |
180 ], | 190 ], |
181 } | 191 } |
OLD | NEW |