diff options
Diffstat (limited to 'third_party/libwebrtc/pc/BUILD.gn')
-rw-r--r-- | third_party/libwebrtc/pc/BUILD.gn | 154 |
1 files changed, 128 insertions, 26 deletions
diff --git a/third_party/libwebrtc/pc/BUILD.gn b/third_party/libwebrtc/pc/BUILD.gn index e351748485..6f21d00bc9 100644 --- a/third_party/libwebrtc/pc/BUILD.gn +++ b/third_party/libwebrtc/pc/BUILD.gn @@ -87,6 +87,7 @@ rtc_source_set("channel") { "../media:rtp_utils", "../media:stream_params", "../modules/rtp_rtcp:rtp_rtcp_format", + "../p2p:dtls_transport_internal", "../p2p:rtc_p2p", "../rtc_base:async_packet_socket", "../rtc_base:checks", @@ -134,6 +135,8 @@ rtc_source_set("dtls_srtp_transport") { "../api:dtls_transport_interface", "../api:libjingle_peerconnection_api", "../api:rtc_error", + "../p2p:dtls_transport_internal", + "../p2p:packet_transport_internal", "../p2p:rtc_p2p", "../rtc_base:buffer", "../rtc_base:checks", @@ -157,6 +160,8 @@ rtc_source_set("dtls_transport") { "../api:make_ref_counted", "../api:scoped_refptr", "../api:sequence_checker", + "../p2p:dtls_transport", + "../p2p:dtls_transport_internal", "../p2p:rtc_p2p", "../rtc_base:checks", "../rtc_base:logging", @@ -213,7 +218,6 @@ rtc_source_set("jsep_transport") { ":rtp_transport_internal", ":sctp_transport", ":session_description", - ":srtp_filter", ":srtp_transport", ":transport_stats", "../api:array_view", @@ -225,7 +229,14 @@ rtc_source_set("jsep_transport") { "../api:sequence_checker", "../api/transport:datagram_transport_interface", "../media:rtc_data_sctp_transport_internal", + "../p2p:dtls_transport", + "../p2p:dtls_transport_internal", + "../p2p:ice_transport_internal", + "../p2p:p2p_constants", + "../p2p:p2p_transport_channel", "../p2p:rtc_p2p", + "../p2p:transport_description", + "../p2p:transport_info", "../rtc_base:checks", "../rtc_base:copy_on_write_buffer", "../rtc_base:event_tracer", @@ -249,6 +260,7 @@ rtc_source_set("jsep_transport_collection") { ":session_description", "../api:libjingle_peerconnection_api", "../api:sequence_checker", + "../p2p:p2p_constants", "../p2p:rtc_p2p", "../rtc_base:checks", "../rtc_base:logging", @@ -295,7 +307,19 @@ rtc_source_set("jsep_transport_controller") { "../api/transport:enums", "../api/transport:sctp_transport_factory_interface", "../media:rtc_data_sctp_transport_internal", + "../p2p:connection", + "../p2p:dtls_transport", + "../p2p:dtls_transport_factory", + "../p2p:dtls_transport_internal", + "../p2p:ice_transport_internal", + "../p2p:p2p_constants", + "../p2p:p2p_transport_channel", + "../p2p:packet_transport_internal", + "../p2p:port", + "../p2p:port_allocator", "../p2p:rtc_p2p", + "../p2p:transport_description", + "../p2p:transport_info", "../rtc_base:callback_list", "../rtc_base:checks", "../rtc_base:copy_on_write_buffer", @@ -347,7 +371,12 @@ rtc_source_set("media_session") { "../media:rtc_media_base", "../media:rtc_sdp_video_format_utils", "../media:stream_params", + "../p2p:ice_credentials_iterator", + "../p2p:p2p_constants", "../p2p:rtc_p2p", + "../p2p:transport_description", + "../p2p:transport_description_factory", + "../p2p:transport_info", "../rtc_base:checks", "../rtc_base:logging", "../rtc_base:ssl", @@ -396,6 +425,7 @@ rtc_source_set("peer_connection_proxy") { deps = [ ":proxy", "../api:libjingle_peerconnection_api", + "../api/transport:bandwidth_estimation_settings", ] } @@ -459,6 +489,7 @@ rtc_source_set("rtp_transport") { "../media:rtc_media_base", "../media:rtp_utils", "../modules/rtp_rtcp:rtp_rtcp_format", + "../p2p:packet_transport_internal", "../p2p:rtc_p2p", "../rtc_base:async_packet_socket", "../rtc_base:checks", @@ -484,6 +515,7 @@ rtc_source_set("rtp_transport_internal") { deps = [ ":session_description", "../call:rtp_receiver", + "../p2p:ice_transport_internal", "../p2p:rtc_p2p", "../rtc_base:callback_list", "../rtc_base:network_route", @@ -505,6 +537,7 @@ rtc_source_set("sctp_transport") { "../api:sequence_checker", "../api/transport:datagram_transport_interface", "../media:rtc_data_sctp_transport_internal", + "../p2p:dtls_transport_internal", "../p2p:rtc_p2p", "../rtc_base:checks", "../rtc_base:logging", @@ -539,29 +572,6 @@ rtc_source_set("sctp_utils") { ] absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ] } -rtc_source_set("srtp_filter") { - visibility = [ ":*" ] - sources = [ - "srtp_filter.cc", - "srtp_filter.h", - ] - deps = [ - ":session_description", - "../api:array_view", - "../api:libjingle_peerconnection_api", - "../api:sequence_checker", - "../rtc_base:buffer", - "../rtc_base:logging", - "../rtc_base:ssl", - "../rtc_base:zero_memory", - "../rtc_base/third_party/base64", - ] - absl_deps = [ - "//third_party/abseil-cpp/absl/strings", - "//third_party/abseil-cpp/absl/types:optional", - ] -} - rtc_source_set("srtp_session") { visibility = [ ":*" ] sources = [ @@ -608,6 +618,7 @@ rtc_source_set("srtp_transport") { "../media:rtc_media_base", "../media:rtp_utils", "../modules/rtp_rtcp:rtp_rtcp_format", + "../p2p:packet_transport_internal", "../p2p:rtc_p2p", "../rtc_base:async_packet_socket", "../rtc_base:buffer", @@ -636,6 +647,10 @@ rtc_source_set("transport_stats") { deps = [ "../api:dtls_transport_interface", "../api:libjingle_peerconnection_api", + "../p2p:connection", + "../p2p:dtls_transport_internal", + "../p2p:ice_transport_internal", + "../p2p:port", "../p2p:rtc_p2p", "../rtc_base:ssl", ] @@ -693,6 +708,8 @@ rtc_source_set("session_description") { "../media:rtc_media_base", "../media:stream_params", "../p2p:rtc_p2p", + "../p2p:transport_description", + "../p2p:transport_info", "../rtc_base:checks", "../rtc_base:socket_address", "../rtc_base:stringutils", @@ -802,6 +819,7 @@ rtc_library("connection_context") { "../api/transport:sctp_transport_factory_interface", "../media:rtc_data_sctp_transport_factory", "../media:rtc_media_base", + "../p2p:basic_packet_socket_factory", "../p2p:rtc_p2p", "../rtc_base:checks", "../rtc_base:macromagic", @@ -911,6 +929,11 @@ rtc_source_set("rtc_stats_collector") { "../modules/audio_device", "../modules/audio_processing:audio_processing_statistics", "../modules/rtp_rtcp:rtp_rtcp_format", + "../p2p:connection", + "../p2p:connection_info", + "../p2p:ice_transport_internal", + "../p2p:p2p_constants", + "../p2p:port", "../p2p:rtc_p2p", "../rtc_base:checks", "../rtc_base:event_tracer", @@ -945,6 +968,7 @@ rtc_source_set("rtc_stats_traversal") { "../api:scoped_refptr", "../rtc_base:checks", ] + absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ] } rtc_source_set("sdp_offer_answer") { @@ -1003,7 +1027,16 @@ rtc_source_set("sdp_offer_answer") { "../media:rid_description", "../media:rtc_media_base", "../media:stream_params", + "../p2p:connection", + "../p2p:ice_transport_internal", + "../p2p:p2p_constants", + "../p2p:p2p_transport_channel", + "../p2p:port", + "../p2p:port_allocator", "../p2p:rtc_p2p", + "../p2p:transport_description", + "../p2p:transport_description_factory", + "../p2p:transport_info", "../rtc_base:checks", "../rtc_base:event_tracer", "../rtc_base:logging", @@ -1108,7 +1141,18 @@ rtc_source_set("peer_connection") { "../media:rtc_media_config", "../media:stream_params", "../modules/rtp_rtcp:rtp_rtcp_format", + "../p2p:basic_async_resolver_factory", + "../p2p:connection", + "../p2p:connection_info", + "../p2p:dtls_transport_internal", + "../p2p:ice_transport_internal", + "../p2p:p2p_constants", + "../p2p:p2p_transport_channel", + "../p2p:port", + "../p2p:port_allocator", "../p2p:rtc_p2p", + "../p2p:transport_description", + "../p2p:transport_info", "../rtc_base:checks", "../rtc_base:copy_on_write_buffer", "../rtc_base:event_tracer", @@ -1164,6 +1208,7 @@ rtc_source_set("sdp_utils") { ":session_description", "../api:libjingle_peerconnection_api", "../p2p:rtc_p2p", + "../p2p:transport_info", "../rtc_base:checks", "../rtc_base/system:rtc_export", ] @@ -1199,6 +1244,11 @@ rtc_source_set("legacy_stats_collector") { "../media:media_channel", "../media:rtc_media_base", "../modules/audio_processing:audio_processing_statistics", + "../p2p:connection", + "../p2p:connection_info", + "../p2p:ice_transport_internal", + "../p2p:p2p_constants", + "../p2p:port", "../p2p:rtc_p2p", "../rtc_base:checks", "../rtc_base:event_tracer", @@ -1272,7 +1322,15 @@ rtc_source_set("webrtc_sdp") { "../media:rtc_media_base", "../media:rtp_utils", "../media:stream_params", + "../p2p:candidate_pair_interface", + "../p2p:connection", + "../p2p:ice_transport_internal", + "../p2p:p2p_constants", + "../p2p:port", + "../p2p:port_interface", "../p2p:rtc_p2p", + "../p2p:transport_description", + "../p2p:transport_info", "../rtc_base:checks", "../rtc_base:ip_address", "../rtc_base:logging", @@ -1307,6 +1365,8 @@ rtc_source_set("webrtc_session_description_factory") { "../api:sequence_checker", "../api/task_queue", "../p2p:rtc_p2p", + "../p2p:transport_description", + "../p2p:transport_description_factory", "../rtc_base:checks", "../rtc_base:logging", "../rtc_base:rtc_certificate_generator", @@ -1333,6 +1393,10 @@ rtc_library("ice_server_parsing") { deps = [ "../api:libjingle_peerconnection_api", "../api:rtc_error", + "../p2p:connection", + "../p2p:port", + "../p2p:port_allocator", + "../p2p:port_interface", "../p2p:rtc_p2p", "../rtc_base:checks", "../rtc_base:ip_address", @@ -1395,6 +1459,11 @@ rtc_source_set("peer_connection_factory") { "../call:rtp_interfaces", "../call:rtp_sender", "../media:rtc_media_base", + "../p2p:basic_packet_socket_factory", + "../p2p:basic_port_allocator", + "../p2p:connection", + "../p2p:default_ice_transport_factory", + "../p2p:port_allocator", "../p2p:rtc_p2p", "../pc:audio_track", "../pc:connection_context", @@ -1955,7 +2024,6 @@ if (rtc_include_tests && !build_with_chromium) { "rtp_transport_unittest.cc", "sctp_transport_unittest.cc", "session_description_unittest.cc", - "srtp_filter_unittest.cc", "srtp_session_unittest.cc", "srtp_transport_unittest.cc", "test/rtp_transport_test_util.h", @@ -1990,7 +2058,6 @@ if (rtc_include_tests && !build_with_chromium) { ":rtp_transport_internal", ":sctp_transport", ":session_description", - ":srtp_filter", ":srtp_session", ":srtp_transport", ":used_ids", @@ -2025,10 +2092,18 @@ if (rtc_include_tests && !build_with_chromium) { "../media:rtc_media_base", "../media:rtc_media_tests_utils", "../modules/rtp_rtcp:rtp_rtcp_format", + "../p2p:candidate_pair_interface", + "../p2p:dtls_transport_factory", + "../p2p:dtls_transport_internal", "../p2p:fake_ice_transport", "../p2p:fake_port_allocator", + "../p2p:ice_transport_internal", + "../p2p:p2p_constants", "../p2p:p2p_test_utils", + "../p2p:packet_transport_internal", "../p2p:rtc_p2p", + "../p2p:transport_description", + "../p2p:transport_info", "../rtc_base:async_packet_socket", "../rtc_base:buffer", "../rtc_base:byte_order", @@ -2110,7 +2185,11 @@ if (rtc_include_tests && !build_with_chromium) { "../media:rtc_media_tests_utils", "../modules/audio_device:audio_device_api", "../modules/audio_processing:api", + "../p2p:basic_port_allocator", + "../p2p:connection", "../p2p:p2p_test_utils", + "../p2p:port_allocator", + "../p2p:port_interface", "../p2p:rtc_p2p", "../rtc_base:checks", "../rtc_base:gunit_helpers", @@ -2161,8 +2240,11 @@ if (rtc_include_tests && !build_with_chromium) { "../api:libjingle_peerconnection_api", "../api:scoped_refptr", "../api/units:time_delta", + "../p2p:connection", "../p2p:p2p_server_utils", "../p2p:p2p_test_utils", + "../p2p:port_allocator", + "../p2p:port_interface", "../p2p:rtc_p2p", "../rtc_base:gunit_helpers", "../rtc_base:logging", @@ -2342,8 +2424,19 @@ if (rtc_include_tests && !build_with_chromium) { "../modules/audio_device:audio_device_api", "../modules/audio_processing:audio_processing_statistics", "../modules/rtp_rtcp:rtp_rtcp_format", + "../p2p:basic_port_allocator", + "../p2p:connection", + "../p2p:connection_info", + "../p2p:dtls_transport_internal", "../p2p:fake_port_allocator", + "../p2p:ice_transport_internal", + "../p2p:p2p_constants", "../p2p:p2p_server_utils", + "../p2p:port", + "../p2p:port_allocator", + "../p2p:port_interface", + "../p2p:transport_description", + "../p2p:transport_info", "../rtc_base:byte_buffer", "../rtc_base:checks", "../rtc_base:copy_on_write_buffer", @@ -2552,10 +2645,17 @@ if (rtc_include_tests && !build_with_chromium) { "../modules/audio_processing:audio_processing_statistics", "../modules/audio_processing:audioproc_test_utils", "../modules/rtp_rtcp:rtp_rtcp_format", + "../p2p:basic_port_allocator", + "../p2p:connection", "../p2p:fake_ice_transport", "../p2p:fake_port_allocator", + "../p2p:ice_transport_internal", + "../p2p:p2p_constants", "../p2p:p2p_server_utils", "../p2p:p2p_test_utils", + "../p2p:port", + "../p2p:port_allocator", + "../p2p:port_interface", "../p2p:rtc_p2p", "../rtc_base:checks", "../rtc_base:gunit_helpers", @@ -2702,8 +2802,10 @@ if (rtc_include_tests && !build_with_chromium) { "../modules/audio_processing", "../modules/audio_processing:api", "../modules/rtp_rtcp:rtp_rtcp_format", + "../p2p:connection", "../p2p:fake_port_allocator", "../p2p:p2p_test_utils", + "../p2p:port_allocator", "../p2p:rtc_p2p", "../rtc_base:checks", "../rtc_base:gunit_helpers", |