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_codec.h", | |
21 "include/voe_errors.h", | 20 "include/voe_errors.h", |
22 "include/voe_network.h", | 21 "include/voe_network.h", |
23 "include/voe_rtp_rtcp.h", | 22 "include/voe_rtp_rtcp.h", |
24 "monitor_module.h", | 23 "monitor_module.h", |
25 "output_mixer.cc", | 24 "output_mixer.cc", |
26 "output_mixer.h", | 25 "output_mixer.h", |
27 "shared_data.cc", | 26 "shared_data.cc", |
28 "shared_data.h", | 27 "shared_data.h", |
29 "statistics.cc", | 28 "statistics.cc", |
30 "statistics.h", | 29 "statistics.h", |
31 "transmit_mixer.cc", | 30 "transmit_mixer.cc", |
32 "transmit_mixer.h", | 31 "transmit_mixer.h", |
33 "transport_feedback_packet_loss_tracker.cc", | 32 "transport_feedback_packet_loss_tracker.cc", |
34 "transport_feedback_packet_loss_tracker.h", | 33 "transport_feedback_packet_loss_tracker.h", |
35 "utility.cc", | 34 "utility.cc", |
36 "utility.h", | 35 "utility.h", |
37 "voe_base_impl.cc", | 36 "voe_base_impl.cc", |
38 "voe_base_impl.h", | 37 "voe_base_impl.h", |
39 "voe_codec_impl.cc", | |
40 "voe_codec_impl.h", | |
41 "voe_network_impl.cc", | 38 "voe_network_impl.cc", |
42 "voe_network_impl.h", | 39 "voe_network_impl.h", |
43 "voe_rtp_rtcp_impl.cc", | 40 "voe_rtp_rtcp_impl.cc", |
44 "voe_rtp_rtcp_impl.h", | 41 "voe_rtp_rtcp_impl.h", |
45 "voice_engine_defines.h", | 42 "voice_engine_defines.h", |
46 "voice_engine_impl.cc", | 43 "voice_engine_impl.cc", |
47 "voice_engine_impl.h", | 44 "voice_engine_impl.h", |
48 ] | 45 ] |
49 | 46 |
50 if (is_win) { | 47 if (is_win) { |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 if (is_android) { | 135 if (is_android) { |
139 deps += [ "//testing/android/native_test:native_test_native_code" ] | 136 deps += [ "//testing/android/native_test:native_test_native_code" ] |
140 shard_timeout = 900 | 137 shard_timeout = 900 |
141 } | 138 } |
142 | 139 |
143 sources = [ | 140 sources = [ |
144 "channel_unittest.cc", | 141 "channel_unittest.cc", |
145 "transport_feedback_packet_loss_tracker_unittest.cc", | 142 "transport_feedback_packet_loss_tracker_unittest.cc", |
146 "utility_unittest.cc", | 143 "utility_unittest.cc", |
147 "voe_base_unittest.cc", | 144 "voe_base_unittest.cc", |
148 "voe_codec_unittest.cc", | |
149 "voe_network_unittest.cc", | 145 "voe_network_unittest.cc", |
150 "voice_engine_fixture.cc", | 146 "voice_engine_fixture.cc", |
151 "voice_engine_fixture.h", | 147 "voice_engine_fixture.h", |
152 ] | 148 ] |
153 | 149 |
154 data = [ | 150 data = [ |
155 "../resources/utility/encapsulated_pcm16b_8khz.wav", | 151 "../resources/utility/encapsulated_pcm16b_8khz.wav", |
156 "../resources/utility/encapsulated_pcmu_8khz.wav", | 152 "../resources/utility/encapsulated_pcmu_8khz.wav", |
157 ] | 153 ] |
158 | 154 |
159 if (is_win) { | 155 if (is_win) { |
160 defines = [ "WEBRTC_DRIFT_COMPENSATION_SUPPORTED" ] | 156 defines = [ "WEBRTC_DRIFT_COMPENSATION_SUPPORTED" ] |
161 | 157 |
162 cflags = [ | 158 cflags = [ |
163 # TODO(kjellander): Bug 261: fix this warning. | 159 # TODO(kjellander): Bug 261: fix this warning. |
164 "/wd4373", # Virtual function override. | 160 "/wd4373", # Virtual function override. |
165 ] | 161 ] |
166 } | 162 } |
167 | 163 |
168 if (!build_with_chromium && is_clang) { | 164 if (!build_with_chromium && is_clang) { |
169 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 165 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
170 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 166 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
171 } | 167 } |
172 } | 168 } |
173 } | 169 } |
OLD | NEW |