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

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

Issue 2686633002: Add new target direct_transport and remove fake_network and direct_transport from test_common. (Closed)
Patch Set: Created 3 years, 10 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/test/direct_transport.cc » ('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 import("//build/config/ui.gni") 10 import("//build/config/ui.gni")
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 sources = [ 305 sources = [
306 "testsupport/fileutils_unittest.cc", 306 "testsupport/fileutils_unittest.cc",
307 ] 307 ]
308 deps = [ 308 deps = [
309 ":fileutils", 309 ":fileutils",
310 "//testing/gmock", 310 "//testing/gmock",
311 "//testing/gtest", 311 "//testing/gtest",
312 ] 312 ]
313 } 313 }
314 314
315 rtc_source_set("direct_transport") {
316 testonly = true
317 sources = [
318 "direct_transport.cc",
319 "direct_transport.h",
320 "fake_network_pipe.cc",
321 "fake_network_pipe.h",
322 ]
323 if (!build_with_chromium && is_clang) {
324 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
325 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
326 }
327 deps = [
328 "../api:transport_api",
329 "../base:rtc_base_approved",
330 "../call",
331 ]
332 }
333
315 rtc_source_set("test_common") { 334 rtc_source_set("test_common") {
316 testonly = true 335 testonly = true
317 sources = [ 336 sources = [
318 "call_test.cc", 337 "call_test.cc",
319 "call_test.h", 338 "call_test.h",
320 "configurable_frame_size_encoder.cc", 339 "configurable_frame_size_encoder.cc",
321 "configurable_frame_size_encoder.h", 340 "configurable_frame_size_encoder.h",
322 "constants.cc", 341 "constants.cc",
323 "constants.h", 342 "constants.h",
324 "direct_transport.cc",
325 "direct_transport.h",
326 "drifting_clock.cc", 343 "drifting_clock.cc",
327 "drifting_clock.h", 344 "drifting_clock.h",
328 "encoder_settings.cc", 345 "encoder_settings.cc",
329 "encoder_settings.h", 346 "encoder_settings.h",
330 "fake_audio_device.cc", 347 "fake_audio_device.cc",
331 "fake_audio_device.h", 348 "fake_audio_device.h",
332 "fake_decoder.cc", 349 "fake_decoder.cc",
333 "fake_decoder.h", 350 "fake_decoder.h",
334 "fake_encoder.cc", 351 "fake_encoder.cc",
335 "fake_encoder.h", 352 "fake_encoder.h",
336 "fake_network_pipe.cc",
337 "fake_network_pipe.h",
338 "fake_videorenderer.h", 353 "fake_videorenderer.h",
339 "layer_filtering_transport.cc", 354 "layer_filtering_transport.cc",
340 "layer_filtering_transport.h", 355 "layer_filtering_transport.h",
341 "mock_transport.h", 356 "mock_transport.h",
342 "mock_voe_channel_proxy.h", 357 "mock_voe_channel_proxy.h",
343 "mock_voice_engine.h", 358 "mock_voice_engine.h",
344 "null_transport.cc", 359 "null_transport.cc",
345 "null_transport.h", 360 "null_transport.h",
346 "rtp_rtcp_observer.h", 361 "rtp_rtcp_observer.h",
347 "statistics.cc", 362 "statistics.cc",
348 "statistics.h", 363 "statistics.h",
349 "win/run_loop_win.cc", 364 "win/run_loop_win.cc",
350 ] 365 ]
351 if (!is_win) { 366 if (!is_win) {
352 sources += [ 367 sources += [
353 "run_loop.cc", 368 "run_loop.cc",
354 "run_loop.h", 369 "run_loop.h",
355 ] 370 ]
356 } 371 }
357 372
358 if (!build_with_chromium && is_clang) { 373 if (!build_with_chromium && is_clang) {
359 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 374 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
360 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 375 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
361 } 376 }
362 377
363 deps = [ 378 deps = [
379 ":direct_transport",
364 ":rtp_test_utils", 380 ":rtp_test_utils",
365 ":test_support", 381 ":test_support",
366 "..:webrtc_common", 382 "..:webrtc_common",
367 "../api:transport_api",
368 "../audio", 383 "../audio",
369 "../base:rtc_base_approved", 384 "../base:rtc_base_approved",
370 "../call", 385 "../call",
371 "../modules/audio_device:mock_audio_device", 386 "../modules/audio_device:mock_audio_device",
372 "../modules/audio_mixer:audio_mixer_impl", 387 "../modules/audio_mixer:audio_mixer_impl",
373 "../modules/audio_processing", 388 "../modules/audio_processing",
374 "../video", 389 "../video",
375 "//testing/gmock", 390 "//testing/gmock",
376 "//testing/gtest", 391 "//testing/gtest",
377 ] 392 ]
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 457 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
443 } 458 }
444 459
445 deps = [ 460 deps = [
446 ":test_support", 461 ":test_support",
447 ":video_test_common", 462 ":video_test_common",
448 "../modules/media_file", 463 "../modules/media_file",
449 "//testing/gtest", 464 "//testing/gtest",
450 ] 465 ]
451 } 466 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/test/direct_transport.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698