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

Unified Diff: webrtc/call/BUILD.gn

Issue 2913143003: New targets call:rtp_interfaces, call:rtp_receiver, call:rtp_sender. (Closed)
Patch Set: Rebase, needed additional include in unit test. 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
« no previous file with comments | « webrtc/audio/audio_receive_stream.h ('k') | webrtc/call/flexfec_receive_stream_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/call/BUILD.gn
diff --git a/webrtc/call/BUILD.gn b/webrtc/call/BUILD.gn
index 8360534f41e75c4ccc1ddffab86b9ab4ccff171d..7caad9638b17e95112d235b779facdfb1c849056 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",
"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",
@@ -94,6 +126,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",
« no previous file with comments | « webrtc/audio/audio_receive_stream.h ('k') | webrtc/call/flexfec_receive_stream_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698