Make more targets from libjingle_peerconnection_api
A few .h-only targets were overlooked in the previous CL.
Bug: webrtc:463418937
Change-Id: I603e0d8eb66a55e421fe9332e76062baf8f1ae45
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/428740
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Auto-Submit: Harald Alvestrand <hta@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#46326}
diff --git a/api/BUILD.gn b/api/BUILD.gn
index aa7c35b..3514647 100644
--- a/api/BUILD.gn
+++ b/api/BUILD.gn
@@ -33,7 +33,6 @@
"enable_media.h",
]
deps = [
- ":libjingle_peerconnection_api",
":peer_connection_interface",
":scoped_refptr",
"../call",
@@ -60,7 +59,6 @@
]
deps = [
":enable_media",
- ":libjingle_peerconnection_api",
":peer_connection_interface",
":scoped_refptr",
"../rtc_base/system:rtc_export",
@@ -80,7 +78,6 @@
"create_modular_peer_connection_factory.h",
]
deps = [
- ":libjingle_peerconnection_api",
":peer_connection_interface",
":scoped_refptr",
":sequence_checker",
@@ -104,7 +101,6 @@
":create_modular_peer_connection_factory",
":enable_media",
":field_trials_view",
- ":libjingle_peerconnection_api",
":peer_connection_interface",
":scoped_refptr",
"../rtc_base:threading",
@@ -435,6 +431,7 @@
":scoped_refptr",
":sctp_transport_interface",
":set_local_description_observer_interface",
+ ":set_remote_description_observer_interface",
":turn_customizer",
"../media:rtc_media_config",
"../p2p:dtls_transport_factory",
@@ -513,16 +510,41 @@
}
rtc_library("set_local_description_observer_interface") {
- sources = [
- "set_local_description_observer_interface.h",
- "set_remote_description_observer_interface.h",
- ]
+ sources = [ "set_local_description_observer_interface.h" ]
deps = [
":ref_count",
":rtc_error",
]
}
+rtc_library("set_remote_description_observer_interface") {
+ sources = [ "set_remote_description_observer_interface.h" ]
+ deps = [
+ ":ref_count",
+ ":rtc_error",
+ ]
+}
+
+rtc_library("uma_metrics") {
+ sources = [ "uma_metrics.h" ]
+ deps = [
+ ":ref_count",
+ ":rtc_error",
+ ]
+}
+
+rtc_library("video_track_source_proxy_factory") {
+ sources = [ "video_track_source_proxy_factory.h" ]
+ deps = [
+ ":media_stream_interface",
+ ":ref_count",
+ ":rtc_error",
+ ":scoped_refptr",
+ "../rtc_base:threading",
+ "../rtc_base/system:rtc_export",
+ ]
+}
+
rtc_library("libjingle_peerconnection_api") {
visibility = [ "*" ]
cflags = []
@@ -1622,6 +1644,7 @@
":rtp_transceiver_interface",
":sctp_transport_interface",
":set_local_description_observer_interface",
+ ":set_remote_description_observer_interface",
"../api:scoped_refptr",
"../rtc_base:refcount",
"../rtc_base:threading",
diff --git a/pc/BUILD.gn b/pc/BUILD.gn
index 78fdbfe..6c8b7f2 100644
--- a/pc/BUILD.gn
+++ b/pc/BUILD.gn
@@ -541,6 +541,7 @@
"../api:scoped_refptr",
"../api:sctp_transport_interface",
"../api:set_local_description_observer_interface",
+ "../api:set_remote_description_observer_interface",
"../api/adaptation:resource_adaptation_api",
"../api/transport:bandwidth_estimation_settings",
"../api/transport:bitrate_settings",
@@ -810,6 +811,7 @@
"../api:media_stream_interface",
"../api:scoped_refptr",
"../api:video_track_source_constraints",
+ "../api:video_track_source_proxy_factory",
"../api/video:recordable_encoded_frame",
"../api/video:video_frame",
"../rtc_base:threading",
@@ -1131,6 +1133,7 @@
"../api:jsep",
"../api:libjingle_peerconnection_api",
"../api:rtp_parameters",
+ "../api:uma_metrics",
"../media:codec",
"../media:media_constants",
"../media:stream_params",
@@ -1196,6 +1199,8 @@
"../api:scoped_refptr",
"../api:sequence_checker",
"../api:set_local_description_observer_interface",
+ "../api:set_remote_description_observer_interface",
+ "../api:uma_metrics",
"../api/crypto:options",
"../api/environment",
"../api/video:builtin_video_bitrate_allocator_factory",
@@ -1316,7 +1321,9 @@
"../api:sctp_transport_interface",
"../api:sequence_checker",
"../api:set_local_description_observer_interface",
+ "../api:set_remote_description_observer_interface",
"../api:turn_customizer",
+ "../api:uma_metrics",
"../api/adaptation:resource_adaptation_api",
"../api/audio:audio_device",
"../api/crypto:options",
@@ -2669,6 +2676,8 @@
"../api:sctp_transport_interface",
"../api:sequence_checker",
"../api:set_local_description_observer_interface",
+ "../api:set_remote_description_observer_interface",
+ "../api:uma_metrics",
"../api/adaptation:resource_adaptation_api",
"../api/audio:audio_device",
"../api/audio:audio_mixer_api",
@@ -3059,6 +3068,7 @@
"../api:sctp_transport_interface",
"../api:sequence_checker",
"../api:set_local_description_observer_interface",
+ "../api:set_remote_description_observer_interface",
"../api/adaptation:resource_adaptation_api",
"../api/audio:audio_device",
"../api/audio:audio_mixer_api",
diff --git a/rtc_tools/data_channel_benchmark/BUILD.gn b/rtc_tools/data_channel_benchmark/BUILD.gn
index b1da477..d776e96 100644
--- a/rtc_tools/data_channel_benchmark/BUILD.gn
+++ b/rtc_tools/data_channel_benchmark/BUILD.gn
@@ -55,6 +55,7 @@
"../../api:rtc_error",
"../../api:scoped_refptr",
"../../api:set_local_description_observer_interface",
+ "../../api:set_remote_description_observer_interface",
"../../api/audio_codecs:builtin_audio_decoder_factory",
"../../api/audio_codecs:builtin_audio_encoder_factory",
"../../api/video_codecs:video_decoder_factory_template",
diff --git a/sdk/BUILD.gn b/sdk/BUILD.gn
index 5dda4e6..839549a 100644
--- a/sdk/BUILD.gn
+++ b/sdk/BUILD.gn
@@ -1127,6 +1127,7 @@
"../api:rtp_transceiver_interface",
"../api:scoped_refptr",
"../api:set_local_description_observer_interface",
+ "../api:set_remote_description_observer_interface",
"../api/audio:audio_device",
"../api/audio:audio_processing",
"../api/audio:builtin_audio_processing_builder",
diff --git a/test/pc/e2e/BUILD.gn b/test/pc/e2e/BUILD.gn
index 985c4cf..01c95d4 100644
--- a/test/pc/e2e/BUILD.gn
+++ b/test/pc/e2e/BUILD.gn
@@ -84,6 +84,7 @@
"../../../api:scoped_refptr",
"../../../api:sequence_checker",
"../../../api:set_local_description_observer_interface",
+ "../../../api:set_remote_description_observer_interface",
"../../../api/audio:audio_processing",
"../../../api/task_queue:pending_task_safety_flag",
"../../../api/test/pclf:media_configuration",
diff --git a/test/peer_scenario/BUILD.gn b/test/peer_scenario/BUILD.gn
index 653d215..ee97a27 100644
--- a/test/peer_scenario/BUILD.gn
+++ b/test/peer_scenario/BUILD.gn
@@ -49,6 +49,7 @@
"../../api:scoped_refptr",
"../../api:sequence_checker",
"../../api:set_local_description_observer_interface",
+ "../../api:set_remote_description_observer_interface",
"../../api:time_controller",
"../../api/environment",
"../../api/environment:environment_factory",