Index: webrtc/modules/rtp_rtcp/BUILD.gn |
diff --git a/webrtc/modules/rtp_rtcp/BUILD.gn b/webrtc/modules/rtp_rtcp/BUILD.gn |
index a5b0d300b6564c3a977c6bea297d61fb5f4f6078..f787e26e52c4baf06e987c0aafe0614d17648650 100644 |
--- a/webrtc/modules/rtp_rtcp/BUILD.gn |
+++ b/webrtc/modules/rtp_rtcp/BUILD.gn |
@@ -8,6 +8,27 @@ |
import("../../webrtc.gni") |
+rtc_static_library("rtp_rtcp_format") { |
+ sources = [ |
+ "include/rtp_header_extension_map.h", |
+ "include/rtp_rtcp_defines.h", |
+ "source/rtp_header_extension_map.cc", |
+ "source/rtp_header_extensions.cc", |
+ "source/rtp_header_extensions.h", |
+ "source/rtp_packet.cc", |
+ "source/rtp_packet.h", |
+ "source/rtp_packet_received.cc", |
+ "source/rtp_packet_received.h", |
+ "source/rtp_packet_to_send.h", |
+ "source/rtp_utility.cc", |
+ "source/rtp_utility.h", |
+ ] |
+ |
+ deps = [ |
+ "../../rtc_base:rtc_base_approved", |
+ ] |
+} |
+ |
rtc_static_library("rtp_rtcp") { |
sources = [ |
"include/flexfec_receiver.h", |
@@ -15,12 +36,10 @@ rtc_static_library("rtp_rtcp") { |
"include/receive_statistics.h", |
"include/remote_ntp_time_estimator.h", |
"include/rtp_cvo.h", |
- "include/rtp_header_extension_map.h", |
"include/rtp_header_parser.h", |
"include/rtp_payload_registry.h", |
"include/rtp_receiver.h", |
"include/rtp_rtcp.h", |
- "include/rtp_rtcp_defines.h", |
"include/ulpfec_receiver.h", |
"source/byte_io.h", |
"source/dtmf_queue.cc", |
@@ -110,17 +129,9 @@ rtc_static_library("rtp_rtcp") { |
"source/rtp_format_vp8.h", |
"source/rtp_format_vp9.cc", |
"source/rtp_format_vp9.h", |
- "source/rtp_header_extension_map.cc", |
- "source/rtp_header_extensions.cc", |
- "source/rtp_header_extensions.h", |
"source/rtp_header_parser.cc", |
- "source/rtp_packet.cc", |
- "source/rtp_packet.h", |
"source/rtp_packet_history.cc", |
"source/rtp_packet_history.h", |
- "source/rtp_packet_received.cc", |
- "source/rtp_packet_received.h", |
- "source/rtp_packet_to_send.h", |
"source/rtp_payload_registry.cc", |
"source/rtp_receiver_audio.cc", |
"source/rtp_receiver_audio.h", |
@@ -139,8 +150,6 @@ rtc_static_library("rtp_rtcp") { |
"source/rtp_sender_audio.h", |
"source/rtp_sender_video.cc", |
"source/rtp_sender_video.h", |
- "source/rtp_utility.cc", |
- "source/rtp_utility.h", |
"source/time_util.cc", |
"source/time_util.h", |
"source/tmmbr_help.cc", |
@@ -183,6 +192,10 @@ rtc_static_library("rtp_rtcp") { |
"../remote_bitrate_estimator", |
] |
+ public_deps = [ |
+ ":rtp_rtcp_format", |
+ ] |
+ |
# TODO(jschuh): Bug 1348: fix this warning. |
configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |