OLD | NEW |
1 # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 3 # Use of this source code is governed by a BSD-style license |
4 # that can be found in the LICENSE file in the root of the source | 4 # that can be found in the LICENSE file in the root of the source |
5 # tree. An additional intellectual property rights grant can be found | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 | 8 |
9 { | 9 { |
10 'targets': [ | 10 'targets': [ |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 'link_settings': { | 187 'link_settings': { |
188 'libraries': [ | 188 'libraries': [ |
189 # Required for the built-in WASAPI AEC. | 189 # Required for the built-in WASAPI AEC. |
190 '-ldmoguids.lib', | 190 '-ldmoguids.lib', |
191 '-lwmcodecdspuuid.lib', | 191 '-lwmcodecdspuuid.lib', |
192 '-lamstrmid.lib', | 192 '-lamstrmid.lib', |
193 '-lmsdmo.lib', | 193 '-lmsdmo.lib', |
194 ], | 194 ], |
195 }, | 195 }, |
196 }], | 196 }], |
| 197 ['OS=="win" and clang==1', { |
| 198 'msvs_settings': { |
| 199 'VCCLCompilerTool': { |
| 200 'AdditionalOptions': [ |
| 201 # Disable warnings failing when compiling with Clang on Wind
ows. |
| 202 # https://bugs.chromium.org/p/webrtc/issues/detail?id=5366 |
| 203 '-Wno-bool-conversion', |
| 204 '-Wno-delete-non-virtual-dtor', |
| 205 '-Wno-logical-op-parentheses', |
| 206 '-Wno-microsoft-extra-qualification', |
| 207 '-Wno-microsoft-goto', |
| 208 '-Wno-missing-braces', |
| 209 '-Wno-parentheses-equality', |
| 210 '-Wno-reorder', |
| 211 '-Wno-shift-overflow', |
| 212 '-Wno-tautological-compare', |
| 213 '-Wno-unused-private-field', |
| 214 ], |
| 215 }, |
| 216 }, |
| 217 }], |
197 ], # conditions | 218 ], # conditions |
198 }], # include_internal_audio_device==1 | 219 }], # include_internal_audio_device==1 |
199 ], # conditions | 220 ], # conditions |
200 }, | 221 }, |
201 ], | 222 ], |
202 'conditions': [ | 223 'conditions': [ |
203 # Does not compile on iOS: webrtc:4755. | 224 # Does not compile on iOS: webrtc:4755. |
204 ['include_tests==1 and OS!="ios"', { | 225 ['include_tests==1 and OS!="ios"', { |
205 'targets': [ | 226 'targets': [ |
206 { | 227 { |
207 'target_name': 'audio_device_tests', | 228 'target_name': 'audio_device_tests', |
208 'type': 'executable', | 229 'type': 'executable', |
209 'dependencies': [ | 230 'dependencies': [ |
210 'audio_device', | 231 'audio_device', |
211 'webrtc_utility', | 232 'webrtc_utility', |
212 '<(webrtc_root)/test/test.gyp:test_support_main', | 233 '<(webrtc_root)/test/test.gyp:test_support_main', |
213 '<(DEPTH)/testing/gtest.gyp:gtest', | 234 '<(DEPTH)/testing/gtest.gyp:gtest', |
214 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers'
, | 235 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers'
, |
215 ], | 236 ], |
216 'sources': [ | 237 'sources': [ |
217 'test/audio_device_test_api.cc', | 238 'test/audio_device_test_api.cc', |
218 'test/audio_device_test_defines.h', | 239 'test/audio_device_test_defines.h', |
219 ], | 240 ], |
(...skipping 14 matching lines...) Expand all Loading... |
234 'test/audio_device_test_defines.h', | 255 'test/audio_device_test_defines.h', |
235 'test/func_test_manager.cc', | 256 'test/func_test_manager.cc', |
236 'test/func_test_manager.h', | 257 'test/func_test_manager.h', |
237 ], | 258 ], |
238 }, | 259 }, |
239 ], # targets | 260 ], # targets |
240 }], # include_tests==1 and OS!=ios | 261 }], # include_tests==1 and OS!=ios |
241 ], | 262 ], |
242 } | 263 } |
243 | 264 |
OLD | NEW |