| 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 |
| 85 if (!build_with_chromium && is_clang) { | 82 if (!build_with_chromium && is_clang) { |
| 86 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 83 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 87 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 84 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 88 } | 85 } |
| 89 } | 86 } |
| 90 | 87 |
| 91 if (rtc_enable_protobuf) { | 88 if (rtc_enable_protobuf) { |
| 92 rtc_executable("low_bandwidth_audio_test") { | 89 rtc_test("low_bandwidth_audio_test") { |
| 93 testonly = true | 90 testonly = true |
| 94 | 91 |
| 95 sources = [ | 92 sources = [ |
| 96 "test/low_bandwidth_audio_test.cc", | 93 "test/low_bandwidth_audio_test.cc", |
| 97 "test/low_bandwidth_audio_test.h", | 94 "test/low_bandwidth_audio_test.h", |
| 98 ] | 95 ] |
| 99 | 96 |
| 100 deps = [ | 97 deps = [ |
| 101 "../common_audio", | 98 "../common_audio", |
| 102 "../system_wrappers", | 99 "../system_wrappers", |
| 103 "../test:fake_audio_device", | 100 "../test:fake_audio_device", |
| 104 "../test:run_test", | |
| 105 "../test:test_common", | 101 "../test:test_common", |
| 106 "../test:test_main", | 102 "../test:test_main", |
| 107 ] | 103 ] |
| 108 if (is_android) { | 104 if (is_android) { |
| 109 deps += [ "//testing/android/native_test:native_test_native_code" ] | 105 deps += [ "//testing/android/native_test:native_test_native_code" ] |
| 110 } | 106 } |
| 111 | 107 |
| 112 data = [ | 108 data = [ |
| 113 "//resources/voice_engine/audio_tiny16.wav", | 109 "//resources/voice_engine/audio_tiny16.wav", |
| 114 ] | 110 ] |
| 115 | 111 |
| 116 if (!build_with_chromium && is_clang) { | 112 if (!build_with_chromium && is_clang) { |
| 117 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163) | 113 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163) |
| 118 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 114 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 119 } | 115 } |
| 120 } | 116 } |
| 121 } | 117 } |
| 122 } | 118 } |
| OLD | NEW |