OLD | NEW |
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2014 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 | 10 |
11 rtc_static_library("voice_engine") { | 11 rtc_static_library("voice_engine") { |
12 sources = [ | 12 sources = [ |
13 "channel.cc", | 13 "channel.cc", |
14 "channel.h", | 14 "channel.h", |
15 "channel_manager.cc", | 15 "channel_manager.cc", |
16 "channel_manager.h", | 16 "channel_manager.h", |
17 "channel_proxy.cc", | 17 "channel_proxy.cc", |
18 "channel_proxy.h", | 18 "channel_proxy.h", |
19 "include/voe_base.h", | 19 "include/voe_base.h", |
20 "include/voe_errors.h", | 20 "include/voe_errors.h", |
21 "include/voe_network.h", | |
22 "monitor_module.h", | 21 "monitor_module.h", |
23 "output_mixer.cc", | 22 "output_mixer.cc", |
24 "output_mixer.h", | 23 "output_mixer.h", |
25 "shared_data.cc", | 24 "shared_data.cc", |
26 "shared_data.h", | 25 "shared_data.h", |
27 "statistics.cc", | 26 "statistics.cc", |
28 "statistics.h", | 27 "statistics.h", |
29 "transmit_mixer.cc", | 28 "transmit_mixer.cc", |
30 "transmit_mixer.h", | 29 "transmit_mixer.h", |
31 "transport_feedback_packet_loss_tracker.cc", | 30 "transport_feedback_packet_loss_tracker.cc", |
32 "transport_feedback_packet_loss_tracker.h", | 31 "transport_feedback_packet_loss_tracker.h", |
33 "utility.cc", | 32 "utility.cc", |
34 "utility.h", | 33 "utility.h", |
35 "voe_base_impl.cc", | 34 "voe_base_impl.cc", |
36 "voe_base_impl.h", | 35 "voe_base_impl.h", |
37 "voe_network_impl.cc", | |
38 "voe_network_impl.h", | |
39 "voice_engine_defines.h", | 36 "voice_engine_defines.h", |
40 "voice_engine_impl.cc", | 37 "voice_engine_impl.cc", |
41 "voice_engine_impl.h", | 38 "voice_engine_impl.h", |
42 ] | 39 ] |
43 | 40 |
44 if (is_win) { | 41 if (is_win) { |
45 defines = [ "WEBRTC_DRIFT_COMPENSATION_SUPPORTED" ] | 42 defines = [ "WEBRTC_DRIFT_COMPENSATION_SUPPORTED" ] |
46 | 43 |
47 cflags = [ | 44 cflags = [ |
48 # TODO(kjellander): Bug 261: fix this warning. | 45 # TODO(kjellander): Bug 261: fix this warning. |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 if (is_android) { | 129 if (is_android) { |
133 deps += [ "//testing/android/native_test:native_test_native_code" ] | 130 deps += [ "//testing/android/native_test:native_test_native_code" ] |
134 shard_timeout = 900 | 131 shard_timeout = 900 |
135 } | 132 } |
136 | 133 |
137 sources = [ | 134 sources = [ |
138 "channel_unittest.cc", | 135 "channel_unittest.cc", |
139 "transport_feedback_packet_loss_tracker_unittest.cc", | 136 "transport_feedback_packet_loss_tracker_unittest.cc", |
140 "utility_unittest.cc", | 137 "utility_unittest.cc", |
141 "voe_base_unittest.cc", | 138 "voe_base_unittest.cc", |
142 "voe_network_unittest.cc", | |
143 "voice_engine_fixture.cc", | |
144 "voice_engine_fixture.h", | |
145 ] | 139 ] |
146 | 140 |
147 data = [ | 141 data = [ |
148 "../resources/utility/encapsulated_pcm16b_8khz.wav", | 142 "../resources/utility/encapsulated_pcm16b_8khz.wav", |
149 "../resources/utility/encapsulated_pcmu_8khz.wav", | 143 "../resources/utility/encapsulated_pcmu_8khz.wav", |
150 ] | 144 ] |
151 | 145 |
152 if (is_win) { | 146 if (is_win) { |
153 defines = [ "WEBRTC_DRIFT_COMPENSATION_SUPPORTED" ] | 147 defines = [ "WEBRTC_DRIFT_COMPENSATION_SUPPORTED" ] |
154 | 148 |
155 cflags = [ | 149 cflags = [ |
156 # TODO(kjellander): Bug 261: fix this warning. | 150 # TODO(kjellander): Bug 261: fix this warning. |
157 "/wd4373", # Virtual function override. | 151 "/wd4373", # Virtual function override. |
158 ] | 152 ] |
159 } | 153 } |
160 | 154 |
161 if (!build_with_chromium && is_clang) { | 155 if (!build_with_chromium && is_clang) { |
162 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 156 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
163 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 157 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
164 } | 158 } |
165 } | 159 } |
166 } | 160 } |
OLD | NEW |