Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(832)

Unified Diff: webrtc/modules/rtp_rtcp/BUILD.gn

Issue 3014463002: Break rtp_rtcp_format out of rtp_rtcp, to resolve circular dependencies (Closed)
Patch Set: include stddef for size_t Created 3 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/modules/rtp_rtcp/source/byte_io.h » ('j') | webrtc/modules/rtp_rtcp/source/byte_io.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..82bd16d0eb74aec75fcab477c6658f811a37b49e 100644
--- a/webrtc/modules/rtp_rtcp/BUILD.gn
+++ b/webrtc/modules/rtp_rtcp/BUILD.gn
@@ -8,21 +8,45 @@
import("../../webrtc.gni")
+rtc_source_set("rtp_rtcp_format") {
+ sources = [
+ "include/rtp_cvo.h",
+ "include/rtp_header_extension_map.h",
+ "include/rtp_rtcp_defines.h",
+ "source/byte_io.h",
eladalon 2017/09/12 14:41:03 Not in this CL, but I wonder if such a utility mod
danilchap 2017/09/12 15:17:17 probably should be merged with rtc_base/bytebuffer
+ "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",
+ ]
+
+ deps = [
+ "..:module_api",
+ "../..:webrtc_common",
+ "../../api:array_view",
+ "../../api:libjingle_peerconnection_api",
+ "../../api:optional",
+ "../../common_video",
+ "../../rtc_base:rtc_base_approved",
+ "../../system_wrappers",
+ ]
+}
+
rtc_static_library("rtp_rtcp") {
sources = [
"include/flexfec_receiver.h",
"include/flexfec_sender.h",
"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",
"source/dtmf_queue.h",
"source/fec_private_tables_bursty.h",
@@ -110,17 +134,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",
@@ -183,6 +199,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" ]
« no previous file with comments | « no previous file | webrtc/modules/rtp_rtcp/source/byte_io.h » ('j') | webrtc/modules/rtp_rtcp/source/byte_io.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698