Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(105)

Side by Side Diff: webrtc/voice_engine/BUILD.gn

Issue 2687843002: Remove unused VoiceChannelTransport. (Closed)
Patch Set: rebase Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | webrtc/voice_engine/test/channel_transport/channel_transport.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 ] 172 ]
173 173
174 deps = [ 174 deps = [
175 "..:webrtc_common", 175 "..:webrtc_common",
176 "../base:rtc_base_approved", 176 "../base:rtc_base_approved",
177 "../common_audio", 177 "../common_audio",
178 ] 178 ]
179 } 179 }
180 180
181 if (rtc_include_tests) { 181 if (rtc_include_tests) {
182 config("channel_transport_warnings_config") {
183 if (is_win) {
184 cflags = [ "/wd4302" ] # cast truncation
185
186 if (is_clang) {
187 # GN orders flags on a target before flags from configs. The default
188 # config adds -Wall, and this flag have to be after -Wall -- so they nee d
189 # to come from a config and cannot be on the target directly.
190 cflags += [
191 "-Wno-parentheses-equality",
192 "-Wno-reorder",
193 "-Wno-tautological-constant-out-of-range-compare",
194
195 # See https://bugs.chromium.org/p/webrtc/issues/detail?id=6268
196 # for -Wno-thread-safety-analysis
197 "-Wno-thread-safety-analysis",
198 "-Wno-unused-private-field",
199 ]
200 }
201 }
202 }
203
204 rtc_static_library("channel_transport") {
205 testonly = true
206 sources = [
207 "test/channel_transport/channel_transport.cc",
208 "test/channel_transport/channel_transport.h",
209 "test/channel_transport/traffic_control_win.cc",
210 "test/channel_transport/traffic_control_win.h",
211 "test/channel_transport/udp_socket2_manager_win.cc",
212 "test/channel_transport/udp_socket2_manager_win.h",
213 "test/channel_transport/udp_socket2_win.cc",
214 "test/channel_transport/udp_socket2_win.h",
215 "test/channel_transport/udp_socket_manager_posix.cc",
216 "test/channel_transport/udp_socket_manager_posix.h",
217 "test/channel_transport/udp_socket_manager_wrapper.cc",
218 "test/channel_transport/udp_socket_manager_wrapper.h",
219 "test/channel_transport/udp_socket_posix.cc",
220 "test/channel_transport/udp_socket_posix.h",
221 "test/channel_transport/udp_socket_wrapper.cc",
222 "test/channel_transport/udp_socket_wrapper.h",
223 "test/channel_transport/udp_transport.h",
224 "test/channel_transport/udp_transport_impl.cc",
225 "test/channel_transport/udp_transport_impl.h",
226 ]
227
228 configs += [ ":channel_transport_warnings_config" ]
229
230 if (!build_with_chromium && is_clang) {
231 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
232 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
233 }
234
235 deps = [
236 ":voice_engine",
237 "..:webrtc_common",
238 "../api:transport_api",
239 "../base:rtc_base_approved",
240 "../system_wrappers",
241 "../test:test_support",
242 "//testing/gtest",
243 ]
244 }
245
246 rtc_test("voice_engine_unittests") { 182 rtc_test("voice_engine_unittests") {
247 deps = [ 183 deps = [
248 ":channel_transport",
249 ":file_player", 184 ":file_player",
250 ":voice_engine", 185 ":voice_engine",
251 "../base:rtc_base_approved", 186 "../base:rtc_base_approved",
252 "../test:test_common", 187 "../test:test_common",
253 "//testing/gmock", 188 "//testing/gmock",
254 "//testing/gtest", 189 "//testing/gtest",
255 "//third_party/gflags", 190 "//third_party/gflags",
256 "//webrtc/common_audio", 191 "//webrtc/common_audio",
257 "//webrtc/modules/audio_coding", 192 "//webrtc/modules/audio_coding",
258 "//webrtc/modules/audio_conference_mixer", 193 "//webrtc/modules/audio_conference_mixer",
259 "//webrtc/modules/audio_device", 194 "//webrtc/modules/audio_device",
260 "//webrtc/modules/audio_processing", 195 "//webrtc/modules/audio_processing",
261 "//webrtc/modules/media_file", 196 "//webrtc/modules/media_file",
262 "//webrtc/modules/rtp_rtcp", 197 "//webrtc/modules/rtp_rtcp",
263 "//webrtc/modules/utility", 198 "//webrtc/modules/utility",
264 "//webrtc/modules/video_capture:video_capture", 199 "//webrtc/modules/video_capture:video_capture",
265 "//webrtc/system_wrappers", 200 "//webrtc/system_wrappers",
266 "//webrtc/test:test_main", 201 "//webrtc/test:test_main",
267 "//webrtc/test:video_test_common", 202 "//webrtc/test:video_test_common",
268 ] 203 ]
269 204
270 if (is_android) { 205 if (is_android) {
271 deps += [ "//testing/android/native_test:native_test_native_code" ] 206 deps += [ "//testing/android/native_test:native_test_native_code" ]
272 shard_timeout = 900 207 shard_timeout = 900
273 } 208 }
274 209
275 sources = [ 210 sources = [
276 "channel_unittest.cc", 211 "channel_unittest.cc",
277 "file_player_unittests.cc", 212 "file_player_unittests.cc",
278 "test/channel_transport/udp_socket_manager_unittest.cc",
279 "test/channel_transport/udp_socket_wrapper_unittest.cc",
280 "test/channel_transport/udp_transport_unittest.cc",
281 "transport_feedback_packet_loss_tracker_unittest.cc", 213 "transport_feedback_packet_loss_tracker_unittest.cc",
282 "utility_unittest.cc", 214 "utility_unittest.cc",
283 "voe_audio_processing_unittest.cc", 215 "voe_audio_processing_unittest.cc",
284 "voe_base_unittest.cc", 216 "voe_base_unittest.cc",
285 "voe_codec_unittest.cc", 217 "voe_codec_unittest.cc",
286 "voe_network_unittest.cc", 218 "voe_network_unittest.cc",
287 "voice_engine_fixture.cc", 219 "voice_engine_fixture.cc",
288 "voice_engine_fixture.h", 220 "voice_engine_fixture.h",
289 ] 221 ]
290 222
(...skipping 15 matching lines...) Expand all
306 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 238 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
307 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 239 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
308 } 240 }
309 } 241 }
310 242
311 if (!is_ios) { 243 if (!is_ios) {
312 rtc_executable("voe_auto_test") { 244 rtc_executable("voe_auto_test") {
313 testonly = true 245 testonly = true
314 246
315 deps = [ 247 deps = [
316 ":channel_transport",
317 ":voice_engine", 248 ":voice_engine",
318 "..:webrtc_common", 249 "..:webrtc_common",
319 "../base:rtc_base_approved", 250 "../base:rtc_base_approved",
320 "../modules/audio_device:audio_device", 251 "../modules/audio_device:audio_device",
321 "../modules/audio_processing:audio_processing", 252 "../modules/audio_processing:audio_processing",
322 "../modules/rtp_rtcp:rtp_rtcp", 253 "../modules/rtp_rtcp:rtp_rtcp",
323 "//testing/gmock", 254 "//testing/gmock",
324 "//testing/gtest", 255 "//testing/gtest",
325 "//third_party/gflags", 256 "//third_party/gflags",
326 "//webrtc/logging:rtc_event_log_api", 257 "//webrtc/logging:rtc_event_log_api",
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 ] 322 ]
392 } 323 }
393 324
394 if (!build_with_chromium && is_clang) { 325 if (!build_with_chromium && is_clang) {
395 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163) . 326 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163) .
396 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 327 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
397 } 328 }
398 } 329 }
399 } 330 }
400 } 331 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/voice_engine/test/channel_transport/channel_transport.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698