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

@ -58,7 +58,6 @@ if (!build_with_chromium) {
"modules/video_capture:video_capture_internal_impl", "modules/video_capture:video_capture_internal_impl",
"pc:peerconnection_unittests", "pc:peerconnection_unittests",
"pc:rtc_pc_unittests", "pc:rtc_pc_unittests",
"rtc_base:rtc_base_tests_utils",
"stats:rtc_stats_unittests", "stats:rtc_stats_unittests",
"system_wrappers:system_wrappers_unittests", "system_wrappers:system_wrappers_unittests",
"test", "test",
@ -476,7 +475,6 @@ if (rtc_include_tests) {
"p2p:rtc_p2p_unittests", "p2p:rtc_p2p_unittests",
"rtc_base:rtc_base_approved_unittests", "rtc_base:rtc_base_approved_unittests",
"rtc_base:rtc_base_tests_main", "rtc_base:rtc_base_tests_main",
"rtc_base:rtc_base_tests_utils",
"rtc_base:rtc_base_unittests", "rtc_base:rtc_base_unittests",
"rtc_base:rtc_json_unittests", "rtc_base:rtc_json_unittests",
"rtc_base:rtc_numerics_unittests", "rtc_base:rtc_numerics_unittests",
@ -544,7 +542,6 @@ if (rtc_include_tests) {
# should move them to a more appropriate test suite. # should move them to a more appropriate test suite.
"call:call_tests", "call:call_tests",
"modules/video_capture", "modules/video_capture",
"rtc_base:rtc_base_tests_utils",
"test:test_common", "test:test_common",
"test:test_main", "test:test_main",
"test:video_test_common", "test:video_test_common",

View File

@ -674,8 +674,8 @@ if (rtc_include_tests) {
":libjingle_peerconnection_api", ":libjingle_peerconnection_api",
":loopback_media_transport", ":loopback_media_transport",
"../rtc_base:checks", "../rtc_base:checks",
"../rtc_base:gunit_helpers",
"../rtc_base:rtc_base_approved", "../rtc_base:rtc_base_approved",
"../rtc_base:rtc_base_tests_utils",
"../test:test_support", "../test:test_support",
"units:units_unittests", "units:units_unittests",
] ]

View File

@ -150,6 +150,7 @@ if (rtc_include_tests) {
"../logging:mocks", "../logging:mocks",
"../logging:rtc_event_log_api", "../logging:rtc_event_log_api",
"../modules/audio_device:mock_audio_device", "../modules/audio_device:mock_audio_device",
"../rtc_base:rtc_base_tests_utils",
# For TestAudioDeviceModule # For TestAudioDeviceModule
"../modules/audio_device:audio_device_impl", "../modules/audio_device:audio_device_impl",
@ -163,7 +164,6 @@ if (rtc_include_tests) {
"../modules/utility", "../modules/utility",
"../rtc_base:checks", "../rtc_base:checks",
"../rtc_base:rtc_base_approved", "../rtc_base:rtc_base_approved",
"../rtc_base:rtc_base_tests_utils",
"../rtc_base:rtc_task_queue", "../rtc_base:rtc_task_queue",
"../rtc_base:safe_compare", "../rtc_base:safe_compare",
"../system_wrappers:system_wrappers", "../system_wrappers:system_wrappers",

View File

@ -457,6 +457,7 @@ if (rtc_include_tests) {
"../modules/video_coding:video_coding_utility", "../modules/video_coding:video_coding_utility",
"../p2p:rtc_p2p", "../p2p:rtc_p2p",
"../rtc_base:checks", "../rtc_base:checks",
"../rtc_base:gunit_helpers",
"../rtc_base:rtc_task_queue", "../rtc_base:rtc_task_queue",
"../rtc_base:stringutils", "../rtc_base:stringutils",
"//third_party/abseil-cpp/absl/memory", "//third_party/abseil-cpp/absl/memory",
@ -507,7 +508,6 @@ if (rtc_include_tests) {
"../call:mock_rtp_interfaces", "../call:mock_rtp_interfaces",
"../rtc_base:rtc_base", "../rtc_base:rtc_base",
"../rtc_base:rtc_base_approved", "../rtc_base:rtc_base_approved",
"../rtc_base:rtc_base_tests_utils",
"../rtc_base:rtc_task_queue_for_test", "../rtc_base:rtc_task_queue_for_test",
"../rtc_base/third_party/sigslot", "../rtc_base/third_party/sigslot",
"../test:test_support", "../test:test_support",
@ -554,6 +554,8 @@ if (rtc_include_tests) {
"../pc:rtc_pc", "../pc:rtc_pc",
"../pc:rtc_pc_base", "../pc:rtc_pc_base",
"../rtc_base:checks", "../rtc_base:checks",
"../rtc_base:gunit_helpers",
"../rtc_base:rtc_base_tests_utils",
"../rtc_base:rtc_task_queue", "../rtc_base:rtc_task_queue",
"../rtc_base:stringutils", "../rtc_base:stringutils",
"../test:field_trial", "../test:field_trial",
@ -656,7 +658,6 @@ if (rtc_include_tests) {
"../rtc_base:rtc_base", "../rtc_base:rtc_base",
"../rtc_base:rtc_base_approved", "../rtc_base:rtc_base_approved",
"../rtc_base:rtc_base_tests_main", "../rtc_base:rtc_base_tests_main",
"../rtc_base:rtc_base_tests_utils",
"../test:audio_codec_mocks", "../test:audio_codec_mocks",
"../test:test_support", "../test:test_support",
"../test:video_test_common", "../test:video_test_common",

View File

@ -1134,7 +1134,6 @@ rtc_source_set("neteq_test_tools") {
"../../rtc_base:checks", "../../rtc_base:checks",
"../../rtc_base:rtc_base", "../../rtc_base:rtc_base",
"../../rtc_base:rtc_base_approved", "../../rtc_base:rtc_base_approved",
"../../rtc_base:rtc_base_tests_utils",
"../../rtc_base/system:arch", "../../rtc_base/system:arch",
"../../test:rtp_test_utils", "../../test:rtp_test_utils",
"../rtp_rtcp", "../rtp_rtcp",

View File

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

View File

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

View File

@ -110,7 +110,6 @@ if (rtc_include_tests) {
"../../rtc_base:checks", "../../rtc_base:checks",
"../../rtc_base:rtc_base", "../../rtc_base:rtc_base",
"../../rtc_base:rtc_base_approved", "../../rtc_base:rtc_base_approved",
"../../rtc_base:rtc_base_tests_utils",
"../../rtc_base/network:sent_packet", "../../rtc_base/network:sent_packet",
"../../system_wrappers", "../../system_wrappers",
"../../test:field_trial", "../../test:field_trial",

View File

@ -237,7 +237,6 @@ if (rtc_include_tests) {
"../../../logging:mocks", "../../../logging:mocks",
"../../../rtc_base:checks", "../../../rtc_base:checks",
"../../../rtc_base:rtc_base_approved", "../../../rtc_base:rtc_base_approved",
"../../../rtc_base:rtc_base_tests_utils",
"../../../rtc_base/experiments:alr_experiment", "../../../rtc_base/experiments:alr_experiment",
"../../../system_wrappers", "../../../system_wrappers",
"../../../system_wrappers:field_trial", "../../../system_wrappers:field_trial",

View File

@ -131,7 +131,6 @@ if (rtc_include_tests) {
"../../../rtc_base:checks", "../../../rtc_base:checks",
"../../../rtc_base:rtc_base", "../../../rtc_base:rtc_base",
"../../../rtc_base:rtc_base_approved", "../../../rtc_base:rtc_base_approved",
"../../../rtc_base:rtc_base_tests_utils",
"../../../rtc_base/network:sent_packet", "../../../rtc_base/network:sent_packet",
"../../../system_wrappers", "../../../system_wrappers",
"../../../test:field_trial", "../../../test:field_trial",

View File

@ -140,6 +140,7 @@ if (rtc_include_tests) {
":rtc_p2p", ":rtc_p2p",
"../api:libjingle_peerconnection_api", "../api:libjingle_peerconnection_api",
"../api:ortc_api", "../api:ortc_api",
"../rtc_base:gunit_helpers",
"../rtc_base:rtc_base", "../rtc_base:rtc_base",
"../rtc_base:rtc_base_approved", "../rtc_base:rtc_base_approved",
"../rtc_base:rtc_base_tests_utils", "../rtc_base:rtc_base_tests_utils",
@ -181,10 +182,12 @@ if (rtc_include_tests) {
":rtc_p2p", ":rtc_p2p",
"../api:ortc_api", "../api:ortc_api",
"../rtc_base:checks", "../rtc_base:checks",
"../rtc_base:gunit_helpers",
"../rtc_base:rtc_base", "../rtc_base:rtc_base",
"../rtc_base:rtc_base_approved", "../rtc_base:rtc_base_approved",
"../rtc_base:rtc_base_tests_utils", "../rtc_base:rtc_base_tests_utils",
"../rtc_base:stringutils", "../rtc_base:stringutils",
"../rtc_base:testclient",
"../system_wrappers:metrics", "../system_wrappers:metrics",
"../test:test_support", "../test:test_support",
"//testing/gtest", "//testing/gtest",
@ -225,6 +228,7 @@ if (rtc_include_tests) {
":p2p_test_utils", ":p2p_test_utils",
":rtc_p2p", ":rtc_p2p",
"../rtc_base:checks", "../rtc_base:checks",
"../rtc_base:gunit_helpers",
"../rtc_base:rtc_base", "../rtc_base:rtc_base",
"../rtc_base:rtc_base_tests_utils", "../rtc_base:rtc_base_tests_utils",
"//testing/gtest", "//testing/gtest",

View File

@ -279,6 +279,7 @@ if (rtc_include_tests) {
"../p2p:p2p_test_utils", "../p2p:p2p_test_utils",
"../p2p:rtc_p2p", "../p2p:rtc_p2p",
"../rtc_base:checks", "../rtc_base:checks",
"../rtc_base:gunit_helpers",
"../rtc_base:rtc_base", "../rtc_base:rtc_base",
"../rtc_base:rtc_base_approved", "../rtc_base:rtc_base_approved",
"../rtc_base:rtc_base_tests_main", "../rtc_base:rtc_base_tests_main",
@ -318,6 +319,7 @@ if (rtc_include_tests) {
"../p2p:p2p_test_utils", "../p2p:p2p_test_utils",
"../p2p:rtc_p2p", "../p2p:rtc_p2p",
"../pc:peerconnection", "../pc:peerconnection",
"../rtc_base:gunit_helpers",
"../rtc_base:rtc_base", "../rtc_base:rtc_base",
"../rtc_base:rtc_base_approved", "../rtc_base:rtc_base_approved",
"../rtc_base:rtc_base_tests_utils", "../rtc_base:rtc_base_tests_utils",
@ -380,9 +382,9 @@ if (rtc_include_tests) {
"../modules/audio_processing:audio_processing", "../modules/audio_processing:audio_processing",
"../p2p:p2p_test_utils", "../p2p:p2p_test_utils",
"../rtc_base:checks", "../rtc_base:checks",
"../rtc_base:gunit_helpers",
"../rtc_base:rtc_base", "../rtc_base:rtc_base",
"../rtc_base:rtc_base_approved", "../rtc_base:rtc_base_approved",
"../rtc_base:rtc_base_tests_utils",
"../rtc_base:rtc_task_queue", "../rtc_base:rtc_task_queue",
"../rtc_base/third_party/sigslot", "../rtc_base/third_party/sigslot",
"../test:test_support", "../test:test_support",
@ -460,6 +462,8 @@ if (rtc_include_tests) {
"../api/units:time_delta", "../api/units:time_delta",
"../logging:fake_rtc_event_log", "../logging:fake_rtc_event_log",
"../rtc_base:checks", "../rtc_base:checks",
"../rtc_base:gunit_helpers",
"../rtc_base:rtc_base_tests_utils",
"../rtc_base:stringutils", "../rtc_base:stringutils",
"../rtc_base/third_party/base64", "../rtc_base/third_party/base64",
"../system_wrappers:metrics", "../system_wrappers:metrics",
@ -504,7 +508,6 @@ if (rtc_include_tests) {
"../rtc_base:rtc_base", "../rtc_base:rtc_base",
"../rtc_base:rtc_base_approved", "../rtc_base:rtc_base_approved",
"../rtc_base:rtc_base_tests_main", "../rtc_base:rtc_base_tests_main",
"../rtc_base:rtc_base_tests_utils",
"../rtc_base:rtc_task_queue", "../rtc_base:rtc_task_queue",
"../rtc_base:safe_conversions", "../rtc_base:safe_conversions",
"../test:audio_codec_mocks", "../test:audio_codec_mocks",

View File

@ -934,11 +934,41 @@ rtc_source_set("gtest_prod") {
] ]
} }
rtc_source_set("gunit_helpers") {
testonly = true
sources = [
"gunit.cc",
"gunit.h",
]
deps = [
":logging",
":rtc_base",
":rtc_base_tests_utils",
":stringutils",
"../test:test_support",
]
}
rtc_source_set("testclient") {
testonly = true
sources = [
"testclient.cc",
"testclient.h",
]
deps = [
":criticalsection",
":gunit_helpers",
":macromagic",
":rtc_base",
":rtc_base_tests_utils",
":timeutils",
"//third_party/abseil-cpp/absl/memory:memory",
]
}
rtc_source_set("rtc_base_tests_utils") { rtc_source_set("rtc_base_tests_utils") {
testonly = true testonly = true
sources = [ sources = [
# Also use this as a convenient dumping ground for misc files that are
# included by multiple targets below.
"cpu_time.cc", "cpu_time.cc",
"cpu_time.h", "cpu_time.h",
"fake_mdns_responder.h", "fake_mdns_responder.h",
@ -949,8 +979,6 @@ rtc_source_set("rtc_base_tests_utils") {
"fakesslidentity.h", "fakesslidentity.h",
"firewallsocketserver.cc", "firewallsocketserver.cc",
"firewallsocketserver.h", "firewallsocketserver.h",
"gunit.cc",
"gunit.h",
"memory_stream.cc", "memory_stream.cc",
"memory_stream.h", "memory_stream.h",
"memory_usage.cc", "memory_usage.cc",
@ -969,8 +997,6 @@ rtc_source_set("rtc_base_tests_utils") {
"socketstream.h", "socketstream.h",
"testbase64.h", "testbase64.h",
"testcertificateverifier.h", "testcertificateverifier.h",
"testclient.cc",
"testclient.h",
"testechoserver.cc", "testechoserver.cc",
"testechoserver.h", "testechoserver.h",
"testutils.cc", "testutils.cc",
@ -981,16 +1007,10 @@ rtc_source_set("rtc_base_tests_utils") {
deps = [ deps = [
":checks", ":checks",
":rtc_base", ":rtc_base",
":stringutils",
"../api/units:time_delta", "../api/units:time_delta",
"../test:test_support",
"system:fallthrough",
"third_party/sigslot", "third_party/sigslot",
"//third_party/abseil-cpp/absl/memory", "//third_party/abseil-cpp/absl/memory",
] ]
public_deps = [
"//testing/gtest",
]
} }
rtc_source_set("rtc_task_queue_for_test") { rtc_source_set("rtc_task_queue_for_test") {
@ -1015,6 +1035,7 @@ if (rtc_include_tests) {
"sigslot_unittest.cc", "sigslot_unittest.cc",
] ]
deps = [ deps = [
":gunit_helpers",
":rtc_base", ":rtc_base",
":rtc_base_tests_utils", ":rtc_base_tests_utils",
"third_party/sigslot", "third_party/sigslot",
@ -1027,6 +1048,7 @@ if (rtc_include_tests) {
"unittest_main.cc", "unittest_main.cc",
] ]
deps = [ deps = [
":gunit_helpers",
":rtc_base", ":rtc_base",
":rtc_base_approved", ":rtc_base_approved",
":rtc_base_tests_utils", ":rtc_base_tests_utils",
@ -1055,9 +1077,11 @@ if (rtc_include_tests) {
] ]
deps = [ deps = [
":checks", ":checks",
":gunit_helpers",
":rtc_base", ":rtc_base",
":rtc_base_tests_main", ":rtc_base_tests_main",
":rtc_base_tests_utils", ":rtc_base_tests_utils",
":testclient",
"../system_wrappers:system_wrappers", "../system_wrappers:system_wrappers",
"../test:fileutils", "../test:fileutils",
"../test:test_support", "../test:test_support",
@ -1124,6 +1148,7 @@ if (rtc_include_tests) {
} }
deps = [ deps = [
":checks", ":checks",
":gunit_helpers",
":rate_limiter", ":rate_limiter",
":rtc_base", ":rtc_base",
":rtc_base_approved", ":rtc_base_approved",
@ -1134,6 +1159,7 @@ if (rtc_include_tests) {
":safe_minmax", ":safe_minmax",
":sanitizer", ":sanitizer",
":stringutils", ":stringutils",
":testclient",
"../api:array_view", "../api:array_view",
"../system_wrappers:system_wrappers", "../system_wrappers:system_wrappers",
"../test:fileutils", "../test:fileutils",
@ -1153,6 +1179,7 @@ if (rtc_include_tests) {
"task_queue_unittest.cc", "task_queue_unittest.cc",
] ]
deps = [ deps = [
":gunit_helpers",
":rtc_base_approved", ":rtc_base_approved",
":rtc_base_tests_main", ":rtc_base_tests_main",
":rtc_base_tests_utils", ":rtc_base_tests_utils",
@ -1186,6 +1213,7 @@ if (rtc_include_tests) {
"weak_ptr_unittest.cc", "weak_ptr_unittest.cc",
] ]
deps = [ deps = [
":gunit_helpers",
":rtc_base_approved", ":rtc_base_approved",
":rtc_base_tests_main", ":rtc_base_tests_main",
":rtc_base_tests_utils", ":rtc_base_tests_utils",
@ -1221,6 +1249,7 @@ if (rtc_include_tests) {
"strings/json_unittest.cc", "strings/json_unittest.cc",
] ]
deps = [ deps = [
":gunit_helpers",
":rtc_base_tests_main", ":rtc_base_tests_main",
":rtc_base_tests_utils", ":rtc_base_tests_utils",
":rtc_json", ":rtc_json",
@ -1272,9 +1301,11 @@ if (rtc_include_tests) {
} }
deps = [ deps = [
":checks", ":checks",
":gunit_helpers",
":rtc_base_tests_main", ":rtc_base_tests_main",
":rtc_base_tests_utils", ":rtc_base_tests_utils",
":stringutils", ":stringutils",
":testclient",
"../api:array_view", "../api:array_view",
"../test:fileutils", "../test:fileutils",
"../test:test_support", "../test:test_support",

View File

@ -129,6 +129,7 @@ if (rtc_include_tests) {
":normalize_simulcast_size_experiment", ":normalize_simulcast_size_experiment",
":quality_scaling_experiment", ":quality_scaling_experiment",
":rtt_mult_experiment", ":rtt_mult_experiment",
"..:gunit_helpers",
"../:rtc_base_tests_main", "../:rtc_base_tests_main",
"../:rtc_base_tests_utils", "../:rtc_base_tests_utils",
"../../system_wrappers:field_trial", "../../system_wrappers:field_trial",

View File

@ -19,7 +19,6 @@
#include <vector> #include <vector>
#include "rtc_base/asyncsocket.h" #include "rtc_base/asyncsocket.h"
#include "rtc_base/checks.h" #include "rtc_base/checks.h"
#include "rtc_base/gunit.h"
#include "rtc_base/stream.h" #include "rtc_base/stream.h"
namespace webrtc { namespace webrtc {

View File

@ -6,8 +6,8 @@
# in the file PATENTS. All contributing project authors may # in the file PATENTS. All contributing project authors may
# be found in the AUTHORS file in the root of the source tree. # be found in the AUTHORS file in the root of the source tree.
import("../../webrtc.gni")
import("//third_party/protobuf/proto_library.gni") import("//third_party/protobuf/proto_library.gni")
import("../../webrtc.gni")
if (rtc_enable_protobuf) { if (rtc_enable_protobuf) {
proto_library("network_tester_config_proto") { proto_library("network_tester_config_proto") {
@ -81,7 +81,7 @@ if (rtc_enable_protobuf) {
deps = [ deps = [
":network_tester", ":network_tester",
"../../rtc_base:rtc_base_tests_utils", "../../rtc_base:gunit_helpers",
"../../test:fileutils", "../../test:fileutils",
"../../test:test_support", "../../test:test_support",
"//testing/gtest", "//testing/gtest",

View File

@ -1073,8 +1073,8 @@ if (is_ios || is_mac) {
"../media:rtc_media_base", "../media:rtc_media_base",
"../media:rtc_media_tests_utils", "../media:rtc_media_tests_utils",
"../modules:module_api", "../modules:module_api",
"../rtc_base:gunit_helpers",
"../rtc_base:rtc_base", "../rtc_base:rtc_base",
"../rtc_base:rtc_base_tests_utils",
"../system_wrappers:system_wrappers", "../system_wrappers:system_wrappers",
"//third_party/libyuv", "//third_party/libyuv",
] ]
@ -1193,7 +1193,7 @@ if (is_ios || is_mac) {
"../modules/audio_processing:api", "../modules/audio_processing:api",
"../modules/audio_processing:audio_processing", "../modules/audio_processing:audio_processing",
"../modules/video_coding:video_codec_interface", "../modules/video_coding:video_codec_interface",
"../rtc_base:rtc_base_tests_utils", "../rtc_base:gunit_helpers",
"../rtc_base/system:unused", "../rtc_base/system:unused",
"../test:test_support", "../test:test_support",
"//third_party/ocmock", "//third_party/ocmock",

View File

@ -57,9 +57,9 @@ if (rtc_include_tests) {
":rtc_stats_test_utils", ":rtc_stats_test_utils",
"../api:rtc_stats_api", "../api:rtc_stats_api",
"../rtc_base:checks", "../rtc_base:checks",
"../rtc_base:gunit_helpers",
"../rtc_base:rtc_base_approved", "../rtc_base:rtc_base_approved",
"../rtc_base:rtc_base_tests_main", "../rtc_base:rtc_base_tests_main",
"../rtc_base:rtc_base_tests_utils",
"../rtc_base:rtc_json", "../rtc_base:rtc_json",
] ]

View File

@ -6,9 +6,9 @@
# in the file PATENTS. All contributing project authors may # in the file PATENTS. All contributing project authors may
# be found in the AUTHORS file in the root of the source tree. # be found in the AUTHORS file in the root of the source tree.
import("../../webrtc.gni")
import("//build/config/features.gni") import("//build/config/features.gni")
import("//testing/libfuzzer/fuzzer_test.gni") import("//testing/libfuzzer/fuzzer_test.gni")
import("../../webrtc.gni")
rtc_static_library("webrtc_fuzzer_main") { rtc_static_library("webrtc_fuzzer_main") {
sources = [ sources = [
@ -364,7 +364,6 @@ webrtc_fuzzer_test("neteq_rtp_fuzzer") {
"../../modules/audio_coding:pcm16b", "../../modules/audio_coding:pcm16b",
"../../modules/rtp_rtcp:rtp_rtcp_format", "../../modules/rtp_rtcp:rtp_rtcp_format",
"../../rtc_base:rtc_base_approved", "../../rtc_base:rtc_base_approved",
"../../rtc_base:rtc_base_tests_utils",
] ]
} }
@ -379,7 +378,6 @@ webrtc_fuzzer_test("neteq_signal_fuzzer") {
"../../modules/audio_coding:neteq_tools_minimal", "../../modules/audio_coding:neteq_tools_minimal",
"../../modules/audio_coding:pcm16b", "../../modules/audio_coding:pcm16b",
"../../rtc_base:rtc_base_approved", "../../rtc_base:rtc_base_approved",
"../../rtc_base:rtc_base_tests_utils",
] ]
} }

View File

@ -116,7 +116,6 @@ if (rtc_include_tests) {
"../../logging:mocks", "../../logging:mocks",
"../../rtc_base:checks", "../../rtc_base:checks",
"../../rtc_base:rtc_base_approved", "../../rtc_base:rtc_base_approved",
"../../rtc_base:rtc_base_tests_utils",
"../../system_wrappers", "../../system_wrappers",
"../../system_wrappers:field_trial", "../../system_wrappers:field_trial",
"../../test:field_trial", "../../test:field_trial",