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) { |
| 11 import("//build/config/android/config.gni") |
| 12 import("//build/config/android/rules.gni") |
| 13 } |
10 | 14 |
11 rtc_static_library("audio") { | 15 rtc_static_library("audio") { |
12 sources = [ | 16 sources = [ |
13 "audio_receive_stream.cc", | 17 "audio_receive_stream.cc", |
14 "audio_receive_stream.h", | 18 "audio_receive_stream.h", |
15 "audio_send_stream.cc", | 19 "audio_send_stream.cc", |
16 "audio_send_stream.h", | 20 "audio_send_stream.h", |
17 "audio_state.cc", | 21 "audio_state.cc", |
18 "audio_state.h", | 22 "audio_state.h", |
19 "audio_transport_proxy.cc", | 23 "audio_transport_proxy.cc", |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 "../test:test_support", | 76 "../test:test_support", |
73 "utility:utility_tests", | 77 "utility:utility_tests", |
74 "//testing/gmock", | 78 "//testing/gmock", |
75 "//testing/gtest", | 79 "//testing/gtest", |
76 ] | 80 ] |
77 if (!build_with_chromium && is_clang) { | 81 if (!build_with_chromium && is_clang) { |
78 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 82 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
79 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 83 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
80 } | 84 } |
81 } | 85 } |
| 86 |
| 87 if (rtc_enable_protobuf) { |
| 88 rtc_executable("low_bandwidth_audio_test") { |
| 89 testonly = true |
| 90 |
| 91 sources = [ |
| 92 "test/low_bandwidth_audio_test.cc", |
| 93 ] |
| 94 |
| 95 deps = [] |
| 96 |
| 97 if (is_android) { |
| 98 deps += [ "//testing/android/native_test:native_test_support" ] |
| 99 } |
| 100 } |
| 101 } |
82 } | 102 } |
OLD | NEW |