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

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

Issue 2998923002: Use SingleThreadedTaskQueue in DirectTransport (Closed)
Patch Set: Created 3 years, 4 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
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 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 shard_timeout = 900 316 shard_timeout = 900
317 } 317 }
318 318
319 if (is_ios) { 319 if (is_ios) {
320 deps += [ ":test_support_unittests_bundle_data" ] 320 deps += [ ":test_support_unittests_bundle_data" ]
321 } 321 }
322 322
323 deps += [ 323 deps += [
324 ":direct_transport", 324 ":direct_transport",
325 ":fileutils_unittests", 325 ":fileutils_unittests",
326 ":single_threaded_task_queue",
326 ":test_common", 327 ":test_common",
327 ":test_main", 328 ":test_main",
328 ":test_support_test_output", 329 ":test_support_test_output",
329 ":video_test_common", 330 ":video_test_common",
330 ":video_test_support", 331 ":video_test_support",
331 "../modules/video_capture", 332 "../modules/video_capture",
332 "//testing/gmock", 333 "//testing/gmock",
333 "//testing/gtest", 334 "//testing/gtest",
334 "//third_party/gflags", 335 "//third_party/gflags",
335 ] 336 ]
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 "direct_transport.cc", 390 "direct_transport.cc",
390 "direct_transport.h", 391 "direct_transport.h",
391 "fake_network_pipe.cc", 392 "fake_network_pipe.cc",
392 "fake_network_pipe.h", 393 "fake_network_pipe.h",
393 ] 394 ]
394 if (!build_with_chromium && is_clang) { 395 if (!build_with_chromium && is_clang) {
395 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 396 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
396 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 397 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
397 } 398 }
398 deps = [ 399 deps = [
400 ":single_threaded_task_queue",
399 "..:webrtc_common", 401 "..:webrtc_common",
400 "../api:transport_api", 402 "../api:transport_api",
401 "../call", 403 "../call",
402 "../modules/rtp_rtcp", 404 "../modules/rtp_rtcp",
403 "../rtc_base:rtc_base_approved", 405 "../rtc_base:rtc_base_approved",
404 "../system_wrappers", 406 "../system_wrappers",
405 ] 407 ]
406 } 408 }
407 409
410 rtc_source_set("single_threaded_task_queue") {
411 testonly = true
412 sources = [
413 "single_threaded_task_queue.cc",
414 "single_threaded_task_queue.h",
415 ]
416 if (!build_with_chromium && is_clang) {
417 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
nisse-webrtc 2017/08/14 12:04:52 Don't do this for new code.
eladalon 2017/08/14 15:38:00 Is there something I need to do instead, or should
418 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
419 }
420 deps = [
421 "../rtc_base:rtc_base_approved",
422 ]
423 }
424
408 rtc_source_set("fake_audio_device") { 425 rtc_source_set("fake_audio_device") {
409 testonly = true 426 testonly = true
410 sources = [ 427 sources = [
411 "fake_audio_device.cc", 428 "fake_audio_device.cc",
412 "fake_audio_device.h", 429 "fake_audio_device.h",
413 ] 430 ]
414 if (!build_with_chromium && is_clang) { 431 if (!build_with_chromium && is_clang) {
415 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 432 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
416 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 433 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
417 } 434 }
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
463 480
464 if (!build_with_chromium && is_clang) { 481 if (!build_with_chromium && is_clang) {
465 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 482 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
466 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 483 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
467 } 484 }
468 485
469 deps = [ 486 deps = [
470 ":direct_transport", 487 ":direct_transport",
471 ":fake_audio_device", 488 ":fake_audio_device",
472 ":rtp_test_utils", 489 ":rtp_test_utils",
490 ":single_threaded_task_queue",
473 ":test_support", 491 ":test_support",
474 ":video_test_common", 492 ":video_test_common",
475 "..:video_stream_api", 493 "..:video_stream_api",
476 "..:webrtc_common", 494 "..:webrtc_common",
477 "../api:transport_api", 495 "../api:transport_api",
478 "../api:video_frame_api", 496 "../api:video_frame_api",
479 "../api/audio_codecs:builtin_audio_decoder_factory", 497 "../api/audio_codecs:builtin_audio_decoder_factory",
480 "../api/audio_codecs:builtin_audio_encoder_factory", 498 "../api/audio_codecs:builtin_audio_encoder_factory",
481 "../api/video_codecs:video_codecs_api", 499 "../api/video_codecs:video_codecs_api",
482 "../audio", 500 "../audio",
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
607 java_files = [ 625 java_files = [
608 "android/org/webrtc/native_test/RTCNativeUnitTest.java", 626 "android/org/webrtc/native_test/RTCNativeUnitTest.java",
609 "android/org/webrtc/native_test/RTCNativeUnitTestActivity.java", 627 "android/org/webrtc/native_test/RTCNativeUnitTestActivity.java",
610 ] 628 ]
611 deps = [ 629 deps = [
612 "../rtc_base:base_java", 630 "../rtc_base:base_java",
613 "//testing/android/native_test:native_test_java", 631 "//testing/android/native_test:native_test_java",
614 ] 632 ]
615 } 633 }
616 } 634 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698