Move RunLoop test class to its own build target
To make it usable in tests without depending on all of CallTest. Bug: None Change-Id: Ie3102ab71bcfe3862dd6c35d3285098e961e54df Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/262807 Reviewed-by: Tomas Gunnarsson <tommi@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/main@{#36932}
This commit is contained in:
parent
8139cda2ec
commit
65b2d8ad21
@ -516,6 +516,7 @@ if (rtc_include_tests) {
|
||||
"../test:field_trial",
|
||||
"../test:mock_frame_transformer",
|
||||
"../test:mock_transport",
|
||||
"../test:run_loop",
|
||||
"../test:scoped_key_value_config",
|
||||
"../test:test_common",
|
||||
"../test:test_support",
|
||||
|
||||
@ -653,7 +653,7 @@ if (rtc_include_tests) {
|
||||
"../../test:mock_frame_transformer",
|
||||
"../../test:mock_transport",
|
||||
"../../test:rtp_test_utils",
|
||||
"../../test:test_common",
|
||||
"../../test:run_loop",
|
||||
"../../test:test_support",
|
||||
"../../test/time_controller:time_controller",
|
||||
"../video_coding:codec_globals_headers",
|
||||
|
||||
@ -1279,8 +1279,8 @@ if (rtc_include_tests) {
|
||||
"../../test:fake_video_codecs",
|
||||
"../../test:field_trial",
|
||||
"../../test:fileutils",
|
||||
"../../test:run_loop",
|
||||
"../../test:scoped_key_value_config",
|
||||
"../../test:test_common",
|
||||
"../../test:test_support",
|
||||
"../../test:video_test_common",
|
||||
"../../test:video_test_support",
|
||||
|
||||
@ -2176,8 +2176,8 @@ if (rtc_include_tests && !build_with_chromium) {
|
||||
"../rtc_base/third_party/sigslot",
|
||||
"../system_wrappers:metrics",
|
||||
"../test:explicit_key_value_config",
|
||||
"../test:run_loop",
|
||||
"../test:scoped_key_value_config",
|
||||
"../test:test_common",
|
||||
"../test:test_main",
|
||||
"../test:test_support",
|
||||
"//third_party/abseil-cpp/absl/algorithm:container",
|
||||
@ -2459,8 +2459,8 @@ if (rtc_include_tests && !build_with_chromium) {
|
||||
"../rtc_base/third_party/base64",
|
||||
"../rtc_base/third_party/sigslot",
|
||||
"../system_wrappers:metrics",
|
||||
"../test:run_loop",
|
||||
"../test:scoped_key_value_config",
|
||||
"../test:test_common",
|
||||
"../test/pc/sctp:fake_sctp_transport",
|
||||
"//third_party/abseil-cpp/absl/algorithm:container",
|
||||
"//third_party/abseil-cpp/absl/memory",
|
||||
|
||||
@ -260,6 +260,7 @@ if (!is_component_build) {
|
||||
"../test:fake_video_codecs",
|
||||
"../test:null_transport",
|
||||
"../test:rtp_test_utils",
|
||||
"../test:run_loop",
|
||||
"../test:run_test",
|
||||
"../test:run_test_interface",
|
||||
"../test:test_common",
|
||||
|
||||
@ -541,8 +541,8 @@ if (rtc_include_tests && !build_with_chromium) {
|
||||
":perf_test",
|
||||
":rtc_expect_death",
|
||||
":rtp_test_utils",
|
||||
":run_loop",
|
||||
":scoped_key_value_config",
|
||||
":test_common",
|
||||
":test_main",
|
||||
":test_support",
|
||||
":test_support_test_artifacts",
|
||||
@ -863,6 +863,19 @@ rtc_library("rtc_expect_death") {
|
||||
deps = [ ":test_support" ]
|
||||
}
|
||||
|
||||
rtc_library("run_loop") {
|
||||
testonly = true
|
||||
sources = [
|
||||
"run_loop.cc",
|
||||
"run_loop.h",
|
||||
]
|
||||
deps = [
|
||||
"../rtc_base:threading",
|
||||
"../rtc_base:timeutils",
|
||||
"../rtc_base/task_utils:to_queued_task",
|
||||
]
|
||||
}
|
||||
|
||||
rtc_library("test_common") {
|
||||
testonly = true
|
||||
sources = [
|
||||
@ -874,8 +887,6 @@ rtc_library("test_common") {
|
||||
"layer_filtering_transport.cc",
|
||||
"layer_filtering_transport.h",
|
||||
"rtp_rtcp_observer.h",
|
||||
"run_loop.cc",
|
||||
"run_loop.h",
|
||||
"video_decoder_proxy_factory.h",
|
||||
"video_encoder_nullable_proxy_factory.h",
|
||||
"video_encoder_proxy_factory.h",
|
||||
@ -887,6 +898,7 @@ rtc_library("test_common") {
|
||||
":fake_video_codecs",
|
||||
":fileutils",
|
||||
":mock_transport",
|
||||
":run_loop",
|
||||
":scoped_key_value_config",
|
||||
":test_support",
|
||||
":video_test_common",
|
||||
|
||||
@ -35,9 +35,9 @@ rtc_library("rtp_replayer") {
|
||||
"../../../test:fake_video_codecs",
|
||||
"../../../test:null_transport",
|
||||
"../../../test:rtp_test_utils",
|
||||
"../../../test:run_loop",
|
||||
"../../../test:run_test",
|
||||
"../../../test:run_test_interface",
|
||||
"../../../test:test_common",
|
||||
"../../../test:test_renderer",
|
||||
"../../../test:test_support",
|
||||
"../../../test:video_test_common",
|
||||
|
||||
@ -968,6 +968,7 @@ if (rtc_include_tests) {
|
||||
"../test:null_transport",
|
||||
"../test:perf_test",
|
||||
"../test:rtp_test_utils",
|
||||
"../test:run_loop",
|
||||
"../test:scoped_key_value_config",
|
||||
"../test:test_common",
|
||||
"../test:test_support",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user