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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 87 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
88 } | 88 } |
89 } | 89 } |
90 | 90 |
91 if (rtc_enable_protobuf) { | 91 if (rtc_enable_protobuf) { |
92 rtc_executable("low_bandwidth_audio_test") { | 92 rtc_executable("low_bandwidth_audio_test") { |
93 testonly = true | 93 testonly = true |
94 | 94 |
95 sources = [ | 95 sources = [ |
96 "test/low_bandwidth_audio_test.cc", | 96 "test/low_bandwidth_audio_test.cc", |
| 97 "test/low_bandwidth_audio_test.h", |
97 ] | 98 ] |
98 | 99 |
99 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 } |
100 | 111 |
101 if (is_android) { | 112 data = [ |
102 deps += [ "//testing/android/native_test:native_test_support" ] | 113 "//resources/voice_engine/audio_tiny16.wav", |
| 114 ] |
| 115 |
| 116 if (!build_with_chromium && is_clang) { |
| 117 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163) |
| 118 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
103 } | 119 } |
104 } | 120 } |
105 } | 121 } |
106 } | 122 } |
OLD | NEW |