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("../../webrtc.gni") | 9 import("../../webrtc.gni") |
10 | 10 |
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
311 # TODO(kthelgason): Reenable these tests on simulator. | 311 # TODO(kthelgason): Reenable these tests on simulator. |
312 # See bugs.webrtc.org/7812 | 312 # See bugs.webrtc.org/7812 |
313 sources += [ "ios/audio_device_unittest_ios.mm" ] | 313 sources += [ "ios/audio_device_unittest_ios.mm" ] |
314 deps += [ "//third_party/ocmock" ] | 314 deps += [ "//third_party/ocmock" ] |
315 } | 315 } |
316 if (!build_with_chromium && is_clang) { | 316 if (!build_with_chromium && is_clang) { |
317 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 317 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
318 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 318 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
319 } | 319 } |
320 } | 320 } |
321 | |
322 if (!is_ios) { | |
323 # These tests do not work on ios, see | |
324 # https://bugs.chromium.org/p/webrtc/issues/detail?id=4755 | |
325 rtc_executable("audio_device_tests") { | |
326 testonly = true | |
327 sources = [ | |
328 "test/audio_device_test_api.cc", | |
329 "test/audio_device_test_defines.h", | |
330 ] | |
331 deps = [ | |
332 ":audio_device", | |
333 "../..:webrtc_common", | |
334 "../../rtc_base:rtc_base_approved", | |
335 "../../system_wrappers", | |
336 "../../test:test_main", | |
337 "../../test:test_support", | |
338 "../rtp_rtcp", | |
339 "../utility", | |
340 "//testing/gtest", | |
341 ] | |
342 public_configs = [ ":audio_device_config" ] | |
343 } | |
344 } | |
345 } | 321 } |
346 | 322 |
347 if (!build_with_chromium && is_android) { | 323 if (!build_with_chromium && is_android) { |
348 android_library("audio_device_java") { | 324 android_library("audio_device_java") { |
349 java_files = [ | 325 java_files = [ |
350 "android/java/src/org/webrtc/voiceengine/BuildInfo.java", | 326 "android/java/src/org/webrtc/voiceengine/BuildInfo.java", |
351 "android/java/src/org/webrtc/voiceengine/WebRtcAudioEffects.java", | 327 "android/java/src/org/webrtc/voiceengine/WebRtcAudioEffects.java", |
352 "android/java/src/org/webrtc/voiceengine/WebRtcAudioManager.java", | 328 "android/java/src/org/webrtc/voiceengine/WebRtcAudioManager.java", |
353 "android/java/src/org/webrtc/voiceengine/WebRtcAudioRecord.java", | 329 "android/java/src/org/webrtc/voiceengine/WebRtcAudioRecord.java", |
354 "android/java/src/org/webrtc/voiceengine/WebRtcAudioTrack.java", | 330 "android/java/src/org/webrtc/voiceengine/WebRtcAudioTrack.java", |
355 "android/java/src/org/webrtc/voiceengine/WebRtcAudioUtils.java", | 331 "android/java/src/org/webrtc/voiceengine/WebRtcAudioUtils.java", |
356 ] | 332 ] |
357 deps = [ | 333 deps = [ |
358 "../../rtc_base:base_java", | 334 "../../rtc_base:base_java", |
359 ] | 335 ] |
360 | 336 |
361 # TODO(sakal): Fix build hooks crbug.com/webrtc/8148 | 337 # TODO(sakal): Fix build hooks crbug.com/webrtc/8148 |
362 no_build_hooks = true | 338 no_build_hooks = true |
363 } | 339 } |
364 } | 340 } |
OLD | NEW |