Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2015 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 if (is_android) { | 10 if (is_android) { |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 71 "../modules/audio_device:mock_audio_device", | 71 "../modules/audio_device:mock_audio_device", |
| 72 "../modules/audio_mixer:audio_mixer_impl", | 72 "../modules/audio_mixer:audio_mixer_impl", |
| 73 "../modules/congestion_controller:congestion_controller", | 73 "../modules/congestion_controller:congestion_controller", |
| 74 "../modules/pacing:pacing", | 74 "../modules/pacing:pacing", |
| 75 "../test:test_common", | 75 "../test:test_common", |
| 76 "../test:test_support", | 76 "../test:test_support", |
| 77 "utility:utility_tests", | 77 "utility:utility_tests", |
| 78 "//testing/gmock", | 78 "//testing/gmock", |
| 79 "//testing/gtest", | 79 "//testing/gtest", |
| 80 ] | 80 ] |
| 81 if (rtc_enable_protobuf) { | |
| 82 deps += [ ":low_bandwidth_audio_test" ] | |
| 83 } | |
| 84 | |
| 81 if (!build_with_chromium && is_clang) { | 85 if (!build_with_chromium && is_clang) { |
| 82 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 86 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 83 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 87 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 84 } | 88 } |
| 85 } | 89 } |
| 86 | 90 |
| 87 if (rtc_enable_protobuf) { | 91 if (rtc_enable_protobuf) { |
| 88 rtc_executable("low_bandwidth_audio_test") { | 92 rtc_executable("low_bandwidth_audio_test") { |
| 89 testonly = true | 93 testonly = true |
| 90 | 94 |
| 91 sources = [ | 95 sources = [ |
| 92 "test/low_bandwidth_audio_test.cc", | 96 "test/low_bandwidth_audio_test.cc", |
| 97 "test/low_bandwidth_audio_test.h", | |
| 93 ] | 98 ] |
| 94 | 99 |
| 95 deps = [] | 100 deps = [ |
| 101 "../common_audio", | |
| 102 "../system_wrappers", | |
| 103 "../test:fake_audio_device", | |
| 104 "../test:run_test", | |
| 105 "../test:test_common", | |
| 106 "../test:test_main", | |
| 107 ] | |
| 108 if (is_android) { | |
| 109 deps += [ "//testing/android/native_test:native_test_native_code" ] | |
| 110 } else { | |
| 111 deps += [ "../modules/video_capture:video_capture_internal_impl" ] | |
|
stefan-webrtc
2017/03/20 14:40:10
Why do we need a video capturer for the audio test
oprypin_webrtc
2017/03/20 15:09:16
I suspect that call_test pulls that in, since it a
stefan-webrtc
2017/03/20 15:42:32
Shouldn't it be added as a dependency on the targe
oprypin_webrtc
2017/03/20 16:02:35
Done. Thanks.
| |
| 112 } | |
| 96 | 113 |
| 97 if (is_android) { | 114 data = [ |
| 98 deps += [ "//testing/android/native_test:native_test_support" ] | 115 "//resources/voice_engine/audio_tiny16.wav", |
| 116 ] | |
| 117 | |
| 118 if (!build_with_chromium && is_clang) { | |
| 119 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163) | |
| 120 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | |
| 99 } | 121 } |
| 100 } | 122 } |
| 101 } | 123 } |
| 102 } | 124 } |
| OLD | NEW |