From e500d46600e21d1afb38ba93b12ec3b64d89cccb Mon Sep 17 00:00:00 2001 From: Philipp Hancke Date: Thu, 12 Dec 2024 12:24:50 -0800 Subject: [PATCH] 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 Commit-Queue: Philipp Hancke Cr-Commit-Position: refs/heads/main@{#43581} --- BUILD.gn | 1 - p2p/BUILD.gn | 4 ---- 2 files changed, 5 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index c2e035325c..5833911122 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -556,7 +556,6 @@ if (!build_with_chromium) { "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 0a2d6bfcac..424825eda6 100644 --- a/p2p/BUILD.gn +++ b/p2p/BUILD.gn @@ -265,7 +265,6 @@ rtc_library("basic_port_allocator") { ":port", ":port_allocator", ":relay_port_factory_interface", - ":rtc_p2p", ":stun_port", ":tcp_port", ":turn_port", @@ -909,7 +908,6 @@ rtc_source_set("transport_info") { sources = [ "base/transport_info.h" ] deps = [ ":p2p_constants", - ":rtc_p2p", ":transport_description", "../api:candidate", "../rtc_base:ssl", @@ -963,7 +961,6 @@ rtc_library("turn_port_factory") { ":port", ":port_allocator", ":relay_port_factory_interface", - ":rtc_p2p", ":turn_port", "../rtc_base:async_packet_socket", ] @@ -1174,7 +1171,6 @@ if (rtc_include_tests) { ":pseudo_tcp", ":regathering_controller", ":relay_port_factory_interface", - ":rtc_p2p", ":stun_dictionary", ":stun_port", ":stun_request",