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}
diff --git a/p2p/BUILD.gn b/p2p/BUILD.gn
index f0033f1..29e633c 100644
--- a/p2p/BUILD.gn
+++ b/p2p/BUILD.gn
@@ -140,6 +140,7 @@
":rtc_p2p",
"../api:libjingle_peerconnection_api",
"../api:ortc_api",
+ "../rtc_base:gunit_helpers",
"../rtc_base:rtc_base",
"../rtc_base:rtc_base_approved",
"../rtc_base:rtc_base_tests_utils",
@@ -181,10 +182,12 @@
":rtc_p2p",
"../api:ortc_api",
"../rtc_base:checks",
+ "../rtc_base:gunit_helpers",
"../rtc_base:rtc_base",
"../rtc_base:rtc_base_approved",
"../rtc_base:rtc_base_tests_utils",
"../rtc_base:stringutils",
+ "../rtc_base:testclient",
"../system_wrappers:metrics",
"../test:test_support",
"//testing/gtest",
@@ -225,6 +228,7 @@
":p2p_test_utils",
":rtc_p2p",
"../rtc_base:checks",
+ "../rtc_base:gunit_helpers",
"../rtc_base:rtc_base",
"../rtc_base:rtc_base_tests_utils",
"//testing/gtest",