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 import("//build/config/ui.gni") | 10 import("//build/config/ui.gni") |
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
280 "../modules/rtp_rtcp", | 280 "../modules/rtp_rtcp", |
281 "../rtc_base:rtc_base_approved", | 281 "../rtc_base:rtc_base_approved", |
282 "../system_wrappers", | 282 "../system_wrappers", |
283 ] | 283 ] |
284 sources = [ | 284 sources = [ |
285 "fake_audio_device_unittest.cc", | 285 "fake_audio_device_unittest.cc", |
286 "fake_network_pipe_unittest.cc", | 286 "fake_network_pipe_unittest.cc", |
287 "frame_generator_unittest.cc", | 287 "frame_generator_unittest.cc", |
288 "rtp_file_reader_unittest.cc", | 288 "rtp_file_reader_unittest.cc", |
289 "rtp_file_writer_unittest.cc", | 289 "rtp_file_writer_unittest.cc", |
290 "single_threaded_task_queue_unittest.cc", | |
290 "testsupport/always_passing_unittest.cc", | 291 "testsupport/always_passing_unittest.cc", |
291 "testsupport/metrics/video_metrics_unittest.cc", | 292 "testsupport/metrics/video_metrics_unittest.cc", |
292 "testsupport/packet_reader_unittest.cc", | 293 "testsupport/packet_reader_unittest.cc", |
293 "testsupport/perf_test_unittest.cc", | 294 "testsupport/perf_test_unittest.cc", |
294 "testsupport/test_output_unittest.cc", | 295 "testsupport/test_output_unittest.cc", |
295 "testsupport/y4m_frame_writer_unittest.cc", | 296 "testsupport/y4m_frame_writer_unittest.cc", |
296 "testsupport/yuv_frame_reader_unittest.cc", | 297 "testsupport/yuv_frame_reader_unittest.cc", |
297 "testsupport/yuv_frame_writer_unittest.cc", | 298 "testsupport/yuv_frame_writer_unittest.cc", |
298 ] | 299 ] |
299 | 300 |
(...skipping 16 matching lines...) Expand all Loading... | |
316 shard_timeout = 900 | 317 shard_timeout = 900 |
317 } | 318 } |
318 | 319 |
319 if (is_ios) { | 320 if (is_ios) { |
320 deps += [ ":test_support_unittests_bundle_data" ] | 321 deps += [ ":test_support_unittests_bundle_data" ] |
321 } | 322 } |
322 | 323 |
323 deps += [ | 324 deps += [ |
324 ":direct_transport", | 325 ":direct_transport", |
325 ":fileutils_unittests", | 326 ":fileutils_unittests", |
327 ":single_threaded_task_queue", | |
326 ":test_common", | 328 ":test_common", |
327 ":test_main", | 329 ":test_main", |
328 ":test_support_test_output", | 330 ":test_support_test_output", |
329 ":video_test_common", | 331 ":video_test_common", |
330 ":video_test_support", | 332 ":video_test_support", |
331 "../modules/video_capture", | 333 "../modules/video_capture", |
332 "//testing/gmock", | 334 "//testing/gmock", |
333 "//testing/gtest", | 335 "//testing/gtest", |
334 "//third_party/gflags", | 336 "//third_party/gflags", |
335 ] | 337 ] |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
389 "direct_transport.cc", | 391 "direct_transport.cc", |
390 "direct_transport.h", | 392 "direct_transport.h", |
391 "fake_network_pipe.cc", | 393 "fake_network_pipe.cc", |
392 "fake_network_pipe.h", | 394 "fake_network_pipe.h", |
393 ] | 395 ] |
394 if (!build_with_chromium && is_clang) { | 396 if (!build_with_chromium && is_clang) { |
395 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 397 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
396 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 398 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
397 } | 399 } |
398 deps = [ | 400 deps = [ |
401 ":single_threaded_task_queue", | |
nisse-webrtc
2017/08/18 11:08:29
Add :single_thread_task_queue to public_deps inste
eladalon
2017/08/18 12:12:37
Done.
| |
399 "..:webrtc_common", | 402 "..:webrtc_common", |
400 "../api:transport_api", | 403 "../api:transport_api", |
401 "../call", | 404 "../call", |
402 "../modules/rtp_rtcp", | 405 "../modules/rtp_rtcp", |
403 "../rtc_base:rtc_base_approved", | 406 "../rtc_base:rtc_base_approved", |
404 "../system_wrappers", | 407 "../system_wrappers", |
405 ] | 408 ] |
406 } | 409 } |
407 | 410 |
411 rtc_source_set("single_threaded_task_queue") { | |
412 testonly = true | |
413 sources = [ | |
414 "single_threaded_task_queue.cc", | |
415 "single_threaded_task_queue.h", | |
416 ] | |
417 deps = [ | |
418 "../rtc_base:rtc_base_approved", | |
419 ] | |
420 } | |
421 | |
408 rtc_source_set("fake_audio_device") { | 422 rtc_source_set("fake_audio_device") { |
409 testonly = true | 423 testonly = true |
410 sources = [ | 424 sources = [ |
411 "fake_audio_device.cc", | 425 "fake_audio_device.cc", |
412 "fake_audio_device.h", | 426 "fake_audio_device.h", |
413 ] | 427 ] |
414 if (!build_with_chromium && is_clang) { | 428 if (!build_with_chromium && is_clang) { |
415 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 429 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
416 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 430 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
417 } | 431 } |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
463 | 477 |
464 if (!build_with_chromium && is_clang) { | 478 if (!build_with_chromium && is_clang) { |
465 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 479 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
466 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 480 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
467 } | 481 } |
468 | 482 |
469 deps = [ | 483 deps = [ |
470 ":direct_transport", | 484 ":direct_transport", |
471 ":fake_audio_device", | 485 ":fake_audio_device", |
472 ":rtp_test_utils", | 486 ":rtp_test_utils", |
487 ":single_threaded_task_queue", | |
473 ":test_support", | 488 ":test_support", |
474 ":video_test_common", | 489 ":video_test_common", |
475 "..:video_stream_api", | 490 "..:video_stream_api", |
476 "..:webrtc_common", | 491 "..:webrtc_common", |
477 "../api:transport_api", | 492 "../api:transport_api", |
478 "../api:video_frame_api", | 493 "../api:video_frame_api", |
479 "../api/audio_codecs:builtin_audio_decoder_factory", | 494 "../api/audio_codecs:builtin_audio_decoder_factory", |
480 "../api/audio_codecs:builtin_audio_encoder_factory", | 495 "../api/audio_codecs:builtin_audio_encoder_factory", |
481 "../api/video_codecs:video_codecs_api", | 496 "../api/video_codecs:video_codecs_api", |
482 "../audio", | 497 "../audio", |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
607 java_files = [ | 622 java_files = [ |
608 "android/org/webrtc/native_test/RTCNativeUnitTest.java", | 623 "android/org/webrtc/native_test/RTCNativeUnitTest.java", |
609 "android/org/webrtc/native_test/RTCNativeUnitTestActivity.java", | 624 "android/org/webrtc/native_test/RTCNativeUnitTestActivity.java", |
610 ] | 625 ] |
611 deps = [ | 626 deps = [ |
612 "../rtc_base:base_java", | 627 "../rtc_base:base_java", |
613 "//testing/android/native_test:native_test_java", | 628 "//testing/android/native_test:native_test_java", |
614 ] | 629 ] |
615 } | 630 } |
616 } | 631 } |
OLD | NEW |