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 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
310 sources = [ | 310 sources = [ |
311 "include/mock_audio_device.h", | 311 "include/mock_audio_device.h", |
312 "include/mock_audio_transport.h", | 312 "include/mock_audio_transport.h", |
313 ] | 313 ] |
314 deps = [ | 314 deps = [ |
315 ":audio_device", | 315 ":audio_device", |
316 "../../test:test_support", | 316 "../../test:test_support", |
317 ] | 317 ] |
318 all_dependent_configs = [ ":mock_audio_device_config" ] | 318 all_dependent_configs = [ ":mock_audio_device_config" ] |
319 } | 319 } |
| 320 |
| 321 if (!is_ios) { |
| 322 # These tests do not work on ios, see |
| 323 # https://bugs.chromium.org/p/webrtc/issues/detail?id=4755 |
| 324 rtc_executable("audio_device_tests") { |
| 325 testonly = true |
| 326 sources = [ |
| 327 "test/audio_device_test_api.cc", |
| 328 "test/audio_device_test_defines.h", |
| 329 ] |
| 330 deps = [ |
| 331 ":audio_device", |
| 332 "../..:webrtc_common", |
| 333 "../../system_wrappers", |
| 334 "../../test:test_main", |
| 335 "../../test:test_support", |
| 336 "../rtp_rtcp", |
| 337 "../utility", |
| 338 "//testing/gtest", |
| 339 ] |
| 340 public_configs = [ ":audio_device_config" ] |
| 341 } |
| 342 } |
320 } | 343 } |
321 | 344 |
322 if (!build_with_chromium && is_android) { | 345 if (!build_with_chromium && is_android) { |
323 android_library("audio_device_java") { | 346 android_library("audio_device_java") { |
324 java_files = [ | 347 java_files = [ |
325 "android/java/src/org/webrtc/voiceengine/BuildInfo.java", | 348 "android/java/src/org/webrtc/voiceengine/BuildInfo.java", |
326 "android/java/src/org/webrtc/voiceengine/WebRtcAudioEffects.java", | 349 "android/java/src/org/webrtc/voiceengine/WebRtcAudioEffects.java", |
327 "android/java/src/org/webrtc/voiceengine/WebRtcAudioManager.java", | 350 "android/java/src/org/webrtc/voiceengine/WebRtcAudioManager.java", |
328 "android/java/src/org/webrtc/voiceengine/WebRtcAudioRecord.java", | 351 "android/java/src/org/webrtc/voiceengine/WebRtcAudioRecord.java", |
329 "android/java/src/org/webrtc/voiceengine/WebRtcAudioTrack.java", | 352 "android/java/src/org/webrtc/voiceengine/WebRtcAudioTrack.java", |
330 "android/java/src/org/webrtc/voiceengine/WebRtcAudioUtils.java", | 353 "android/java/src/org/webrtc/voiceengine/WebRtcAudioUtils.java", |
331 ] | 354 ] |
332 deps = [ | 355 deps = [ |
333 "//webrtc/base:base_java", | 356 "//webrtc/base:base_java", |
334 ] | 357 ] |
335 } | 358 } |
336 } | 359 } |
OLD | NEW |