Clean up p2p:rtc_p2p target and remove webrtc dependency
removing the last vestiges of the p2p/ dependencies and stop depending
on them for the "webrtc" static library.
BUG=webrtc:42226155
Change-Id: I0b6ac36c0a22054c229a94f55fa6690580b9d47f
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/371342
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Philipp Hancke <phancke@meta.com>
Cr-Commit-Position: refs/heads/main@{#43581}
diff --git a/BUILD.gn b/BUILD.gn
index c2e0353..5833911 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -556,7 +556,6 @@
"media",
"modules",
"modules/video_capture:video_capture_internal_impl",
- "p2p:rtc_p2p",
"pc:libjingle_peerconnection",
"pc:rtc_pc",
"sdk",
diff --git a/p2p/BUILD.gn b/p2p/BUILD.gn
index 0a2d6bf..424825e 100644
--- a/p2p/BUILD.gn
+++ b/p2p/BUILD.gn
@@ -265,7 +265,6 @@
":port",
":port_allocator",
":relay_port_factory_interface",
- ":rtc_p2p",
":stun_port",
":tcp_port",
":turn_port",
@@ -909,7 +908,6 @@
sources = [ "base/transport_info.h" ]
deps = [
":p2p_constants",
- ":rtc_p2p",
":transport_description",
"../api:candidate",
"../rtc_base:ssl",
@@ -963,7 +961,6 @@
":port",
":port_allocator",
":relay_port_factory_interface",
- ":rtc_p2p",
":turn_port",
"../rtc_base:async_packet_socket",
]
@@ -1174,7 +1171,6 @@
":pseudo_tcp",
":regathering_controller",
":relay_port_factory_interface",
- ":rtc_p2p",
":stun_dictionary",
":stun_port",
":stun_request",