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

Unified Diff: webrtc/call/BUILD.gn

Issue 2913143003: New targets call:rtp_interfaces, call:rtp_receiver, call:rtp_sender. (Closed)
Patch Set: New header file rtp_packet_sink_interface.h. Created 3 years, 7 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
Index: webrtc/call/BUILD.gn
diff --git a/webrtc/call/BUILD.gn b/webrtc/call/BUILD.gn
index a6afe302409949a2a6609bba13e1232ba320bfe9..69b26b962ff9ec1e4b272308547abb7fc13fd928 100644
--- a/webrtc/call/BUILD.gn
+++ b/webrtc/call/BUILD.gn
@@ -16,12 +16,11 @@ rtc_source_set("call_interfaces") {
"audio_state.h",
"call.h",
"flexfec_receive_stream.h",
- "rtp_demuxer.h",
- "rtp_transport_controller_send_interface.h",
"syncable.cc",
"syncable.h",
]
deps = [
+ ":rtp_interfaces",
"..:video_stream_api",
"..:webrtc_common",
"../api:audio_mixer_api",
@@ -33,17 +32,47 @@ rtc_source_set("call_interfaces") {
]
}
+# TODO(nisse): These RTP targets should be moved elsewhere
+# when interfaces have stabilized.
+rtc_source_set("rtp_interfaces") {
+ sources = [
+ "rtp_packet_sink_interface.h",
+ "rtp_transport_controller_send_interface.h",
+ ]
+}
+
+rtc_source_set("rtp_receiver") {
+ sources = [
+ "rtp_demuxer.cc",
+ "rtp_demuxer.h",
+ "rtx_receive_stream.cc",
+ "rtx_receive_stream.h",
+ ]
+ deps = [
+ ":rtp_interfaces",
+ "../base:rtc_base_approved",
+ "../modules/rtp_rtcp",
+ ]
+}
+
+rtc_source_set("rtp_sender") {
+ sources = [
+ "rtp_transport_controller_send.cc",
+ "rtp_transport_controller_send.h",
+ ]
+ deps = [
+ ":rtp_interfaces",
+ "../base:rtc_base_approved",
+ "../modules/congestion_controller",
+ ]
+}
+
rtc_static_library("call") {
sources = [
"bitrate_allocator.cc",
the sun 2017/06/01 07:28:21 Why isn't bitrate_allocator.h in this target?
nisse-webrtc 2017/06/01 07:48:05 Looks like an omission, it isn't included in any t
nisse-webrtc 2017/06/01 09:57:17 I'm leaving this unchanged for this cl, trying to
"call.cc",
"flexfec_receive_stream_impl.cc",
"flexfec_receive_stream_impl.h",
- "rtp_demuxer.cc",
- "rtp_transport_controller_send.cc",
- "rtp_transport_controller_send.h",
- "rtx_receive_stream.cc",
- "rtx_receive_stream.h",
]
if (!build_with_chromium && is_clang) {
@@ -58,6 +87,9 @@ rtc_static_library("call") {
deps = [
":call_interfaces",
+ ":rtp_interfaces",
+ ":rtp_receiver",
+ ":rtp_sender",
"..:webrtc_common",
"../api:transport_api",
"../audio",
@@ -93,6 +125,9 @@ if (rtc_include_tests) {
]
deps = [
":call",
+ ":rtp_interfaces",
+ ":rtp_receiver",
+ ":rtp_sender",
"../api:mock_audio_mixer",
"../base:rtc_base_approved",
"../logging:rtc_event_log_api",

Powered by Google App Engine
This is Rietveld 408576698