OLD | NEW |
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2014 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 import("../../build/webrtc.gni") | 9 import("../../build/webrtc.gni") |
10 | 10 |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 } | 228 } |
229 | 229 |
230 if (!build_with_chromium) { | 230 if (!build_with_chromium) { |
231 sources += [ | 231 sources += [ |
232 # Do not link these into Chrome since they contain static data. | 232 # Do not link these into Chrome since they contain static data. |
233 "dummy/file_audio_device_factory.cc", | 233 "dummy/file_audio_device_factory.cc", |
234 "dummy/file_audio_device_factory.h", | 234 "dummy/file_audio_device_factory.h", |
235 ] | 235 ] |
236 } | 236 } |
237 | 237 |
238 if (is_clang) { | 238 if (!build_with_chromium && is_clang) { |
239 # Suppress warnings from Chrome's Clang plugins. | 239 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
240 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | |
241 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 240 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
242 } | 241 } |
243 } | 242 } |
244 | 243 |
245 # These tests do not work on ios, see | 244 # These tests do not work on ios, see |
246 # https://bugs.chromium.org/p/webrtc/issues/detail?id=4755 | 245 # https://bugs.chromium.org/p/webrtc/issues/detail?id=4755 |
247 if (rtc_include_tests && !is_ios) { | 246 if (rtc_include_tests && !is_ios) { |
248 rtc_executable("audio_device_tests") { | 247 rtc_executable("audio_device_tests") { |
249 testonly = true | 248 testonly = true |
250 sources = [ | 249 sources = [ |
251 "test/audio_device_test_api.cc", | 250 "test/audio_device_test_api.cc", |
252 "test/audio_device_test_defines.h", | 251 "test/audio_device_test_defines.h", |
253 ] | 252 ] |
254 deps = [ | 253 deps = [ |
255 ":audio_device", | 254 ":audio_device", |
256 "../..:webrtc_common", | 255 "../..:webrtc_common", |
257 "../../system_wrappers", | 256 "../../system_wrappers", |
258 "../../test:test_support", | 257 "../../test:test_support", |
259 "../../test:test_support_main", | 258 "../../test:test_support_main", |
260 "../rtp_rtcp", | 259 "../rtp_rtcp", |
261 "../utility", | 260 "../utility", |
262 "//testing/gtest", | 261 "//testing/gtest", |
263 ] | 262 ] |
264 public_configs = [ ":audio_device_config" ] | 263 public_configs = [ ":audio_device_config" ] |
265 } | 264 } |
266 } | 265 } |
OLD | NEW |