aboutsummaryrefslogtreecommitdiff
path: root/p2p/BUILD.gn
diff options
context:
space:
mode:
authorPatrik Höglund <phoglund@webrtc.org>2019-09-05 14:35:04 +0200
committerCommit Bot <commit-bot@chromium.org>2019-09-06 09:09:02 +0000
commit662e31ffecbc920667a9f56dc781c9689b64ca5f (patch)
tree00560cf4c551aa2ba069e3f0675104e556c5ae97 /p2p/BUILD.gn
parent50b0baf510dae855f433a553c78b1577c28af5f0 (diff)
downloadwebrtc-662e31ffecbc920667a9f56dc781c9689b64ca5f.tar.gz
Prepare to move packet_socket_factory to api/.
I gave up on removing proxy_info, user_agent and tcp_options. I don't think it's feasible to remove them without removing all the proxy code. The assumption that you can set the proxy and user agent long after you have created the factory is entrenched in unit tests and the code itself. So is the ability to set tcp opts depending on protocol or endpoint properties. It may be easier to untangle proxy stuff from the factory later, when it becomes a more first-class citizen and isn't passed via the allocator. Requires https://chromium-review.googlesource.com/c/chromium/src/+/1778870 to land first. Bug: webrtc:7447 Change-Id: Ib496e2bb689ea415e9f8ec1dfedff13a83fa4a8a Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/150799 Commit-Queue: Patrik Höglund <phoglund@webrtc.org> Reviewed-by: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#29091}
Diffstat (limited to 'p2p/BUILD.gn')
-rw-r--r--p2p/BUILD.gn3
1 files changed, 2 insertions, 1 deletions
diff --git a/p2p/BUILD.gn b/p2p/BUILD.gn
index 5b9a5d5ac2..bc80b7501b 100644
--- a/p2p/BUILD.gn
+++ b/p2p/BUILD.gn
@@ -50,7 +50,6 @@ rtc_static_library("rtc_p2p") {
"base/p2p_constants.h",
"base/p2p_transport_channel.cc",
"base/p2p_transport_channel.h",
- "base/packet_socket_factory.cc",
"base/packet_socket_factory.h",
"base/packet_transport_interface.h",
"base/packet_transport_internal.cc",
@@ -93,6 +92,7 @@ rtc_static_library("rtc_p2p") {
deps = [
"../api:libjingle_peerconnection_api",
+ "../api:packet_socket_factory",
"../api:scoped_refptr",
"../api/rtc_event_log",
"../api/transport:enums",
@@ -164,6 +164,7 @@ if (rtc_include_tests) {
":p2p_server_utils",
":rtc_p2p",
"../api:libjingle_peerconnection_api",
+ "../api:packet_socket_factory",
"../rtc_base",
"../rtc_base:gunit_helpers",
"../rtc_base:rtc_base_approved",