| 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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 rtc_test("low_bandwidth_audio_test") { | 105 rtc_test("low_bandwidth_audio_test") { |
| 106 testonly = true | 106 testonly = true |
| 107 | 107 |
| 108 sources = [ | 108 sources = [ |
| 109 "test/low_bandwidth_audio_test.cc", | 109 "test/low_bandwidth_audio_test.cc", |
| 110 "test/low_bandwidth_audio_test.h", | 110 "test/low_bandwidth_audio_test.h", |
| 111 ] | 111 ] |
| 112 | 112 |
| 113 deps = [ | 113 deps = [ |
| 114 "../common_audio", | 114 "../common_audio", |
| 115 "../rtc_base:rtc_base_approved", |
| 115 "../system_wrappers", | 116 "../system_wrappers", |
| 116 "../test:fake_audio_device", | 117 "../test:fake_audio_device", |
| 117 "../test:test_common", | 118 "../test:test_common", |
| 118 "../test:test_main", | 119 "../test:test_main", |
| 119 "//testing/gmock", | 120 "//testing/gmock", |
| 120 "//testing/gtest", | 121 "//testing/gtest", |
| 121 "//third_party/gflags", | |
| 122 ] | 122 ] |
| 123 if (is_android) { | 123 if (is_android) { |
| 124 deps += [ "//testing/android/native_test:native_test_native_code" ] | 124 deps += [ "//testing/android/native_test:native_test_native_code" ] |
| 125 } | 125 } |
| 126 | 126 |
| 127 data = [ | 127 data = [ |
| 128 "../../resources/voice_engine/audio_tiny16.wav", | 128 "../../resources/voice_engine/audio_tiny16.wav", |
| 129 "../../resources/voice_engine/audio_tiny48.wav", | 129 "../../resources/voice_engine/audio_tiny48.wav", |
| 130 "../../resources/voice_engine/audio_dtx16.wav", | 130 "../../resources/voice_engine/audio_dtx16.wav", |
| 131 ] | 131 ] |
| (...skipping 22 matching lines...) Expand all Loading... |
| 154 "../common_audio", | 154 "../common_audio", |
| 155 "../rtc_base:rtc_base_approved", | 155 "../rtc_base:rtc_base_approved", |
| 156 "../system_wrappers", | 156 "../system_wrappers", |
| 157 "../test:fake_audio_device", | 157 "../test:fake_audio_device", |
| 158 "../test:field_trial", | 158 "../test:field_trial", |
| 159 "../test:single_threaded_task_queue", | 159 "../test:single_threaded_task_queue", |
| 160 "../test:test_common", | 160 "../test:test_common", |
| 161 "../test:test_main", | 161 "../test:test_main", |
| 162 "//testing/gmock", | 162 "//testing/gmock", |
| 163 "//testing/gtest", | 163 "//testing/gtest", |
| 164 "//third_party/gflags", | |
| 165 ] | 164 ] |
| 166 | 165 |
| 167 data = [ | 166 data = [ |
| 168 "//resources/voice_engine/audio_dtx16.wav", | 167 "//resources/voice_engine/audio_dtx16.wav", |
| 169 ] | 168 ] |
| 170 | 169 |
| 171 if (!build_with_chromium && is_clang) { | 170 if (!build_with_chromium && is_clang) { |
| 172 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 171 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 173 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 172 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 174 } | 173 } |
| 175 } | 174 } |
| 176 } | 175 } |
| OLD | NEW |