Decouple //rtc_base:rtc_base_tests_utils from gunit.

This CL decouples //rtc_base:rtc_base_tests_utils from gunit by
moving gunit helpers (rtc_base/gunit.h) and rtc_base/testclient.h
(which depends on gunit helpers) to their own build target.

It also removes some unused dependencies in the WebRTC build graph.

Bug: None
Change-Id: Ia9820e84ff697da39b351eef73c45f6e4bdf2623
Reviewed-on: https://webrtc-review.googlesource.com/c/111861
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#25769}
This commit is contained in:
Mirko Bonadei
2018-11-23 13:15:08 +01:00
committed by Commit Bot
parent 8af8896596
commit e3abb8134f
20 changed files with 70 additions and 41 deletions

View File

@ -414,6 +414,7 @@ if (rtc_include_tests) {
"../../rtc_base:protobuf_utils",
"../../rtc_base:rtc_base",
"../../rtc_base:rtc_base_approved",
"../../rtc_base:rtc_base_tests_utils",
"../../rtc_base:safe_minmax",
"../../rtc_base/system:arch",
"../../rtc_base/system:file_wrapper",
@ -459,7 +460,6 @@ if (rtc_include_tests) {
":audioproc_unittest_proto",
":runtime_settings_protobuf_utils",
"../../api/audio:audio_frame_api",
"../../rtc_base:rtc_base_tests_utils",
"../../rtc_base:rtc_task_queue",
"aec_dump",
"aec_dump:aec_dump_unittests",

View File

@ -192,8 +192,8 @@ rtc_source_set("adaptive_digital_unittests") {
"../../../api:array_view",
"../../../common_audio",
"../../../rtc_base:checks",
"../../../rtc_base:gunit_helpers",
"../../../rtc_base:rtc_base_approved",
"../../../rtc_base:rtc_base_tests_utils",
]
}
@ -204,7 +204,7 @@ rtc_source_set("biquad_filter_unittests") {
]
deps = [
":biquad_filter",
"../../../rtc_base:rtc_base_tests_utils",
"../../../rtc_base:gunit_helpers",
]
}
@ -232,8 +232,8 @@ rtc_source_set("fixed_digital_unittests") {
"../../../api:array_view",
"../../../common_audio",
"../../../rtc_base:checks",
"../../../rtc_base:gunit_helpers",
"../../../rtc_base:rtc_base_approved",
"../../../rtc_base:rtc_base_tests_utils",
"../../../system_wrappers:metrics",
"//third_party/abseil-cpp/absl/memory",
]
@ -254,8 +254,8 @@ rtc_source_set("noise_estimator_unittests") {
"..:audio_frame_view",
"../../../api:array_view",
"../../../rtc_base:checks",
"../../../rtc_base:gunit_helpers",
"../../../rtc_base:rtc_base_approved",
"../../../rtc_base:rtc_base_tests_utils",
]
}
@ -267,7 +267,7 @@ rtc_source_set("rnn_vad_with_level_unittests") {
deps = [
":rnn_vad_with_level",
"..:audio_frame_view",
"../../../rtc_base:rtc_base_tests_utils",
"../../../rtc_base:gunit_helpers",
]
}