Split up the call/video_stream_api target
The split shows that some places don't need it at all. Most other places will depend on both send and receive stream targets. Bug: webrtc:373151158 Change-Id: I788136a2ee84180c16345a7929b7f7bf3f97507b Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/365460 Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Commit-Queue: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/main@{#43230}
This commit is contained in:
parent
36e5979951
commit
d8bddfef88
@ -41,7 +41,8 @@ rtc_library("call_interfaces") {
|
|||||||
":payload_type",
|
":payload_type",
|
||||||
":receive_stream_interface",
|
":receive_stream_interface",
|
||||||
":rtp_interfaces",
|
":rtp_interfaces",
|
||||||
":video_stream_api",
|
":video_receive_stream_api",
|
||||||
|
":video_send_stream_api",
|
||||||
"../api:fec_controller_api",
|
"../api:fec_controller_api",
|
||||||
"../api:field_trials_view",
|
"../api:field_trials_view",
|
||||||
"../api:frame_transformer_interface",
|
"../api:frame_transformer_interface",
|
||||||
@ -318,7 +319,8 @@ rtc_library("call") {
|
|||||||
":rtp_sender",
|
":rtp_sender",
|
||||||
":simulated_network",
|
":simulated_network",
|
||||||
":version",
|
":version",
|
||||||
":video_stream_api",
|
":video_receive_stream_api",
|
||||||
|
":video_send_stream_api",
|
||||||
"../api:array_view",
|
"../api:array_view",
|
||||||
"../api:fec_controller_api",
|
"../api:fec_controller_api",
|
||||||
"../api:field_trials_view",
|
"../api:field_trials_view",
|
||||||
@ -420,16 +422,19 @@ rtc_source_set("receive_stream_interface") {
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# A temporary target to allow including the files from downstream users
|
||||||
|
# that have not changed the target name.
|
||||||
|
# TODO: https://issues.webrtc.org/373151158 - Remove this when downstream users have updated.
|
||||||
rtc_library("video_stream_api") {
|
rtc_library("video_stream_api") {
|
||||||
sources = [
|
sources = [
|
||||||
"video_receive_stream.cc",
|
|
||||||
"video_receive_stream.h",
|
"video_receive_stream.h",
|
||||||
"video_send_stream.cc",
|
|
||||||
"video_send_stream.h",
|
"video_send_stream.h",
|
||||||
]
|
]
|
||||||
deps = [
|
deps = [
|
||||||
":receive_stream_interface",
|
":receive_stream_interface",
|
||||||
":rtp_interfaces",
|
":rtp_interfaces",
|
||||||
|
":video_receive_stream_api",
|
||||||
|
":video_send_stream_api",
|
||||||
"../api:frame_transformer_interface",
|
"../api:frame_transformer_interface",
|
||||||
"../api:rtp_headers",
|
"../api:rtp_headers",
|
||||||
"../api:rtp_parameters",
|
"../api:rtp_parameters",
|
||||||
@ -438,7 +443,6 @@ rtc_library("video_stream_api") {
|
|||||||
"../api:transport_api",
|
"../api:transport_api",
|
||||||
"../api/adaptation:resource_adaptation_api",
|
"../api/adaptation:resource_adaptation_api",
|
||||||
"../api/crypto:frame_decryptor_interface",
|
"../api/crypto:frame_decryptor_interface",
|
||||||
"../api/crypto:frame_encryptor_interface",
|
|
||||||
"../api/crypto:options",
|
"../api/crypto:options",
|
||||||
"../api/units:time_delta",
|
"../api/units:time_delta",
|
||||||
"../api/video:recordable_encoded_frame",
|
"../api/video:recordable_encoded_frame",
|
||||||
@ -450,11 +454,61 @@ rtc_library("video_stream_api") {
|
|||||||
"../common_video",
|
"../common_video",
|
||||||
"../common_video:frame_counts",
|
"../common_video:frame_counts",
|
||||||
"../modules/rtp_rtcp:rtp_rtcp_format",
|
"../modules/rtp_rtcp:rtp_rtcp_format",
|
||||||
|
"../video/config:encoder_config",
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
rtc_library("video_send_stream_api") {
|
||||||
|
sources = [
|
||||||
|
"video_send_stream.cc",
|
||||||
|
"video_send_stream.h",
|
||||||
|
]
|
||||||
|
deps = [
|
||||||
|
":rtp_interfaces",
|
||||||
|
"../api:frame_transformer_interface",
|
||||||
|
"../api:rtp_parameters",
|
||||||
|
"../api:rtp_sender_interface",
|
||||||
|
"../api:scoped_refptr",
|
||||||
|
"../api:transport_api",
|
||||||
|
"../api/adaptation:resource_adaptation_api",
|
||||||
|
"../api/crypto:options",
|
||||||
|
"../api/video:video_frame",
|
||||||
|
"../api/video:video_rtp_headers",
|
||||||
|
"../api/video:video_stream_encoder",
|
||||||
|
"../api/video_codecs:scalability_mode",
|
||||||
|
"../api/video_codecs:video_codecs_api",
|
||||||
|
"../common_video",
|
||||||
|
"../common_video:frame_counts",
|
||||||
|
"../modules/rtp_rtcp:rtp_rtcp_format",
|
||||||
"../rtc_base:checks",
|
"../rtc_base:checks",
|
||||||
"../rtc_base:stringutils",
|
"../rtc_base:stringutils",
|
||||||
"../video/config:encoder_config",
|
"../video/config:encoder_config",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
rtc_library("video_receive_stream_api") {
|
||||||
|
sources = [
|
||||||
|
"video_receive_stream.cc",
|
||||||
|
"video_receive_stream.h",
|
||||||
|
]
|
||||||
|
deps = [
|
||||||
|
":receive_stream_interface",
|
||||||
|
":rtp_interfaces",
|
||||||
|
"../api:frame_transformer_interface",
|
||||||
|
"../api:rtp_headers",
|
||||||
|
"../api:scoped_refptr",
|
||||||
|
"../api:transport_api",
|
||||||
|
"../api/crypto:frame_decryptor_interface",
|
||||||
|
"../api/crypto:options",
|
||||||
|
"../api/units:time_delta",
|
||||||
|
"../api/video:recordable_encoded_frame",
|
||||||
|
"../api/video:video_frame",
|
||||||
|
"../api/video:video_rtp_headers",
|
||||||
|
"../api/video_codecs:video_codecs_api",
|
||||||
|
"../common_video:frame_counts",
|
||||||
|
"../modules/rtp_rtcp:rtp_rtcp_format",
|
||||||
|
"../rtc_base:stringutils",
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
rtc_library("simulated_network") {
|
rtc_library("simulated_network") {
|
||||||
# TODO(bugs.webrtc.org/14525): Remove target and directly depend on test/network:simulated_network.
|
# TODO(bugs.webrtc.org/14525): Remove target and directly depend on test/network:simulated_network.
|
||||||
@ -525,7 +579,8 @@ if (rtc_include_tests) {
|
|||||||
":rtp_receiver",
|
":rtp_receiver",
|
||||||
":rtp_sender",
|
":rtp_sender",
|
||||||
":simulated_network",
|
":simulated_network",
|
||||||
":video_stream_api",
|
":video_receive_stream_api",
|
||||||
|
":video_send_stream_api",
|
||||||
"../api:array_view",
|
"../api:array_view",
|
||||||
"../api:bitrate_allocation",
|
"../api:bitrate_allocation",
|
||||||
"../api:create_frame_generator",
|
"../api:create_frame_generator",
|
||||||
@ -629,7 +684,8 @@ if (rtc_include_tests) {
|
|||||||
deps = [
|
deps = [
|
||||||
":call_interfaces",
|
":call_interfaces",
|
||||||
":simulated_network",
|
":simulated_network",
|
||||||
":video_stream_api",
|
":video_receive_stream_api",
|
||||||
|
":video_send_stream_api",
|
||||||
"../api:array_view",
|
"../api:array_view",
|
||||||
"../api:field_trials_view",
|
"../api:field_trials_view",
|
||||||
"../api:make_ref_counted",
|
"../api:make_ref_counted",
|
||||||
|
|||||||
@ -538,7 +538,6 @@ if (rtc_enable_protobuf) {
|
|||||||
"../api/units:time_delta",
|
"../api/units:time_delta",
|
||||||
"../api/units:timestamp",
|
"../api/units:timestamp",
|
||||||
"../api/video:video_frame",
|
"../api/video:video_frame",
|
||||||
"../call:video_stream_api",
|
|
||||||
"../modules:module_api_public",
|
"../modules:module_api_public",
|
||||||
"../modules/audio_coding:audio_network_adaptor",
|
"../modules/audio_coding:audio_network_adaptor",
|
||||||
"../modules/rtp_rtcp:rtp_rtcp_format",
|
"../modules/rtp_rtcp:rtp_rtcp_format",
|
||||||
|
|||||||
@ -100,7 +100,6 @@ rtc_library("rtc_media_base") {
|
|||||||
"../api/video_codecs:scalability_mode",
|
"../api/video_codecs:scalability_mode",
|
||||||
"../api/video_codecs:video_codecs_api",
|
"../api/video_codecs:video_codecs_api",
|
||||||
"../call:call_interfaces",
|
"../call:call_interfaces",
|
||||||
"../call:video_stream_api",
|
|
||||||
"../common_video",
|
"../common_video",
|
||||||
"../modules/async_audio_processing",
|
"../modules/async_audio_processing",
|
||||||
"../modules/audio_device",
|
"../modules/audio_device",
|
||||||
@ -332,7 +331,6 @@ rtc_source_set("media_channel") {
|
|||||||
"../api/video:video_rtp_headers",
|
"../api/video:video_rtp_headers",
|
||||||
"../api/video_codecs:scalability_mode",
|
"../api/video_codecs:scalability_mode",
|
||||||
"../api/video_codecs:video_codecs_api",
|
"../api/video_codecs:video_codecs_api",
|
||||||
"../call:video_stream_api",
|
|
||||||
"../common_video",
|
"../common_video",
|
||||||
"../modules/rtp_rtcp:rtp_rtcp_format",
|
"../modules/rtp_rtcp:rtp_rtcp_format",
|
||||||
"../rtc_base:async_packet_socket",
|
"../rtc_base:async_packet_socket",
|
||||||
@ -469,7 +467,6 @@ rtc_library("rtc_simulcast_encoder_adapter") {
|
|||||||
"../api/video_codecs:rtc_software_fallback_wrappers",
|
"../api/video_codecs:rtc_software_fallback_wrappers",
|
||||||
"../api/video_codecs:scalability_mode",
|
"../api/video_codecs:scalability_mode",
|
||||||
"../api/video_codecs:video_codecs_api",
|
"../api/video_codecs:video_codecs_api",
|
||||||
"../call:video_stream_api",
|
|
||||||
"../common_video",
|
"../common_video",
|
||||||
"../media:media_constants",
|
"../media:media_constants",
|
||||||
"../modules/video_coding:video_codec_interface",
|
"../modules/video_coding:video_codec_interface",
|
||||||
@ -507,7 +504,6 @@ rtc_library("rtc_internal_video_codecs") {
|
|||||||
"../api/video_codecs:video_encoder_factory_template_libvpx_vp9_adapter",
|
"../api/video_codecs:video_encoder_factory_template_libvpx_vp9_adapter",
|
||||||
"../api/video_codecs:video_encoder_factory_template_open_h264_adapter",
|
"../api/video_codecs:video_encoder_factory_template_open_h264_adapter",
|
||||||
"../call:call_interfaces",
|
"../call:call_interfaces",
|
||||||
"../call:video_stream_api",
|
|
||||||
"../modules/video_coding:video_codec_interface",
|
"../modules/video_coding:video_codec_interface",
|
||||||
"../modules/video_coding:webrtc_h264",
|
"../modules/video_coding:webrtc_h264",
|
||||||
"../modules/video_coding:webrtc_vp8",
|
"../modules/video_coding:webrtc_vp8",
|
||||||
@ -607,7 +603,8 @@ rtc_library("rtc_audio_video") {
|
|||||||
"../call:payload_type_picker",
|
"../call:payload_type_picker",
|
||||||
"../call:receive_stream_interface",
|
"../call:receive_stream_interface",
|
||||||
"../call:rtp_interfaces",
|
"../call:rtp_interfaces",
|
||||||
"../call:video_stream_api",
|
"../call:video_receive_stream_api",
|
||||||
|
"../call:video_send_stream_api",
|
||||||
"../common_video",
|
"../common_video",
|
||||||
"../common_video:frame_counts",
|
"../common_video:frame_counts",
|
||||||
"../modules/async_audio_processing:async_audio_processing",
|
"../modules/async_audio_processing:async_audio_processing",
|
||||||
@ -825,7 +822,8 @@ if (rtc_include_tests) {
|
|||||||
"../call:payload_type",
|
"../call:payload_type",
|
||||||
"../call:payload_type_picker",
|
"../call:payload_type_picker",
|
||||||
"../call:rtp_interfaces",
|
"../call:rtp_interfaces",
|
||||||
"../call:video_stream_api",
|
"../call:video_receive_stream_api",
|
||||||
|
"../call:video_send_stream_api",
|
||||||
"../common_video",
|
"../common_video",
|
||||||
"../modules/audio_processing",
|
"../modules/audio_processing",
|
||||||
"../modules/rtp_rtcp",
|
"../modules/rtp_rtcp",
|
||||||
@ -978,7 +976,8 @@ if (rtc_include_tests) {
|
|||||||
"../api/video_codecs:video_encoder_factory_template_open_h264_adapter",
|
"../api/video_codecs:video_encoder_factory_template_open_h264_adapter",
|
||||||
"../audio",
|
"../audio",
|
||||||
"../call:call_interfaces",
|
"../call:call_interfaces",
|
||||||
"../call:video_stream_api",
|
"../call:video_receive_stream_api",
|
||||||
|
"../call:video_send_stream_api",
|
||||||
"../common_video",
|
"../common_video",
|
||||||
"../modules/audio_device:mock_audio_device",
|
"../modules/audio_device:mock_audio_device",
|
||||||
"../modules/audio_mixer:audio_mixer_impl",
|
"../modules/audio_mixer:audio_mixer_impl",
|
||||||
|
|||||||
@ -319,7 +319,7 @@ if (rtc_include_tests) {
|
|||||||
"../../../api/units:data_size",
|
"../../../api/units:data_size",
|
||||||
"../../../api/units:time_delta",
|
"../../../api/units:time_delta",
|
||||||
"../../../api/units:timestamp",
|
"../../../api/units:timestamp",
|
||||||
"../../../call:video_stream_api",
|
"../../../call:video_receive_stream_api",
|
||||||
"../../../logging:mocks",
|
"../../../logging:mocks",
|
||||||
"../../../logging:rtc_event_bwe",
|
"../../../logging:rtc_event_bwe",
|
||||||
"../../../rtc_base:checks",
|
"../../../rtc_base:checks",
|
||||||
|
|||||||
@ -705,7 +705,7 @@ if (rtc_include_tests) {
|
|||||||
"../../api/video:video_rtp_headers",
|
"../../api/video:video_rtp_headers",
|
||||||
"../../api/video_codecs:video_codecs_api",
|
"../../api/video_codecs:video_codecs_api",
|
||||||
"../../call:rtp_receiver",
|
"../../call:rtp_receiver",
|
||||||
"../../call:video_stream_api",
|
"../../call:video_receive_stream_api",
|
||||||
"../../common_video",
|
"../../common_video",
|
||||||
"../../common_video:corruption_detection_message",
|
"../../common_video:corruption_detection_message",
|
||||||
"../../common_video:frame_instrumentation_data",
|
"../../common_video:frame_instrumentation_data",
|
||||||
@ -752,7 +752,7 @@ if (rtc_include_tests) {
|
|||||||
"../../api:mock_transformable_audio_frame",
|
"../../api:mock_transformable_audio_frame",
|
||||||
"../../api:mock_transformable_video_frame",
|
"../../api:mock_transformable_video_frame",
|
||||||
"../../api:transport_api",
|
"../../api:transport_api",
|
||||||
"../../call:video_stream_api",
|
"../../call:video_receive_stream_api",
|
||||||
"../../modules/rtp_rtcp",
|
"../../modules/rtp_rtcp",
|
||||||
"../../rtc_base:rtc_event",
|
"../../rtc_base:rtc_event",
|
||||||
"../../test:test_support",
|
"../../test:test_support",
|
||||||
|
|||||||
@ -922,7 +922,6 @@ if (rtc_include_tests) {
|
|||||||
"../../api/video_codecs:video_encoder_factory_template_libvpx_vp8_adapter",
|
"../../api/video_codecs:video_encoder_factory_template_libvpx_vp8_adapter",
|
||||||
"../../api/video_codecs:video_encoder_factory_template_libvpx_vp9_adapter",
|
"../../api/video_codecs:video_encoder_factory_template_libvpx_vp9_adapter",
|
||||||
"../../api/video_codecs:video_encoder_factory_template_open_h264_adapter",
|
"../../api/video_codecs:video_encoder_factory_template_open_h264_adapter",
|
||||||
"../../call:video_stream_api",
|
|
||||||
"../../common_video",
|
"../../common_video",
|
||||||
"../../media:media_constants",
|
"../../media:media_constants",
|
||||||
"../../media:rtc_audio_video",
|
"../../media:rtc_audio_video",
|
||||||
|
|||||||
@ -500,7 +500,7 @@ rtc_source_set("rtp_transport") {
|
|||||||
"../api/task_queue:pending_task_safety_flag",
|
"../api/task_queue:pending_task_safety_flag",
|
||||||
"../api/units:timestamp",
|
"../api/units:timestamp",
|
||||||
"../call:rtp_receiver",
|
"../call:rtp_receiver",
|
||||||
"../call:video_stream_api",
|
"../call:video_receive_stream_api",
|
||||||
"../media:rtp_utils",
|
"../media:rtp_utils",
|
||||||
"../modules/rtp_rtcp:rtp_rtcp_format",
|
"../modules/rtp_rtcp:rtp_rtcp_format",
|
||||||
"../p2p:packet_transport_internal",
|
"../p2p:packet_transport_internal",
|
||||||
|
|||||||
@ -196,7 +196,7 @@ if (!is_component_build) {
|
|||||||
"../call:rtp_interfaces",
|
"../call:rtp_interfaces",
|
||||||
"../call:rtp_sender",
|
"../call:rtp_sender",
|
||||||
"../call:simulated_packet_receiver",
|
"../call:simulated_packet_receiver",
|
||||||
"../call:video_stream_api",
|
"../call:video_send_stream_api",
|
||||||
"../media:media_constants",
|
"../media:media_constants",
|
||||||
"../media:rtc_audio_video",
|
"../media:rtc_audio_video",
|
||||||
"../rtc_base:rtc_json",
|
"../rtc_base:rtc_json",
|
||||||
@ -372,7 +372,6 @@ if (!build_with_chromium) {
|
|||||||
"../api/units:time_delta",
|
"../api/units:time_delta",
|
||||||
"../api/units:timestamp",
|
"../api/units:timestamp",
|
||||||
"../call:call_interfaces",
|
"../call:call_interfaces",
|
||||||
"../call:video_stream_api",
|
|
||||||
"../logging:ice_log",
|
"../logging:ice_log",
|
||||||
"../logging:rtc_event_audio",
|
"../logging:rtc_event_audio",
|
||||||
"../logging:rtc_event_audio",
|
"../logging:rtc_event_audio",
|
||||||
|
|||||||
@ -735,7 +735,7 @@ if (rtc_include_tests) {
|
|||||||
"../api/video_codecs:builtin_video_encoder_factory",
|
"../api/video_codecs:builtin_video_encoder_factory",
|
||||||
"../api/video_codecs:scalability_mode",
|
"../api/video_codecs:scalability_mode",
|
||||||
"../api/video_codecs:video_codecs_api",
|
"../api/video_codecs:video_codecs_api",
|
||||||
"../call:video_stream_api",
|
"../call:video_receive_stream_api",
|
||||||
"../common_video",
|
"../common_video",
|
||||||
"../media:codec",
|
"../media:codec",
|
||||||
"../media:media_constants",
|
"../media:media_constants",
|
||||||
@ -1026,7 +1026,8 @@ rtc_library("encoder_settings") {
|
|||||||
"../api:scoped_refptr",
|
"../api:scoped_refptr",
|
||||||
"../api/video_codecs:video_codecs_api",
|
"../api/video_codecs:video_codecs_api",
|
||||||
"../call:rtp_interfaces",
|
"../call:rtp_interfaces",
|
||||||
"../call:video_stream_api",
|
"../call:video_receive_stream_api",
|
||||||
|
"../call:video_send_stream_api",
|
||||||
"../rtc_base:checks",
|
"../rtc_base:checks",
|
||||||
"../rtc_base:refcount",
|
"../rtc_base:refcount",
|
||||||
"../video/config:encoder_config",
|
"../video/config:encoder_config",
|
||||||
@ -1264,7 +1265,7 @@ if (!build_with_chromium) {
|
|||||||
"../call:call_interfaces",
|
"../call:call_interfaces",
|
||||||
"../call:fake_network",
|
"../call:fake_network",
|
||||||
"../call:simulated_packet_receiver",
|
"../call:simulated_packet_receiver",
|
||||||
"../call:video_stream_api",
|
"../call:video_send_stream_api",
|
||||||
"../modules/audio_device:test_audio_device_module",
|
"../modules/audio_device:test_audio_device_module",
|
||||||
"../modules/audio_mixer:audio_mixer_impl",
|
"../modules/audio_mixer:audio_mixer_impl",
|
||||||
"../modules/rtp_rtcp",
|
"../modules/rtp_rtcp",
|
||||||
@ -1313,7 +1314,7 @@ rtc_library("call_config_utils") {
|
|||||||
"call_config_utils.h",
|
"call_config_utils.h",
|
||||||
]
|
]
|
||||||
deps = [
|
deps = [
|
||||||
"../call:video_stream_api",
|
"../call:video_receive_stream_api",
|
||||||
"../rtc_base:rtc_json",
|
"../rtc_base:rtc_json",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -112,7 +112,6 @@ if (rtc_include_tests && !build_with_chromium) {
|
|||||||
"../../call",
|
"../../call",
|
||||||
"../../call:call_interfaces",
|
"../../call:call_interfaces",
|
||||||
"../../call:rtp_sender",
|
"../../call:rtp_sender",
|
||||||
"../../call:video_stream_api",
|
|
||||||
"../../common_video",
|
"../../common_video",
|
||||||
"../../media:media_constants",
|
"../../media:media_constants",
|
||||||
"../../media:rtc_audio_video",
|
"../../media:rtc_audio_video",
|
||||||
|
|||||||
@ -115,7 +115,8 @@ rtc_library("video") {
|
|||||||
"../call:rtp_interfaces",
|
"../call:rtp_interfaces",
|
||||||
"../call:rtp_receiver",
|
"../call:rtp_receiver",
|
||||||
"../call:rtp_sender",
|
"../call:rtp_sender",
|
||||||
"../call:video_stream_api",
|
"../call:video_receive_stream_api",
|
||||||
|
"../call:video_send_stream_api",
|
||||||
"../common_video",
|
"../common_video",
|
||||||
"../common_video:corruption_detection_converters",
|
"../common_video:corruption_detection_converters",
|
||||||
"../common_video:corruption_detection_message",
|
"../common_video:corruption_detection_message",
|
||||||
@ -878,7 +879,8 @@ if (rtc_include_tests) {
|
|||||||
"../call:rtp_receiver",
|
"../call:rtp_receiver",
|
||||||
"../call:rtp_sender",
|
"../call:rtp_sender",
|
||||||
"../call:simulated_packet_receiver",
|
"../call:simulated_packet_receiver",
|
||||||
"../call:video_stream_api",
|
"../call:video_receive_stream_api",
|
||||||
|
"../call:video_send_stream_api",
|
||||||
"../call/adaptation:resource_adaptation",
|
"../call/adaptation:resource_adaptation",
|
||||||
"../call/adaptation:resource_adaptation_test_utilities",
|
"../call/adaptation:resource_adaptation_test_utilities",
|
||||||
"../common_video",
|
"../common_video",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user