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

Unified Diff: webrtc/call/BUILD.gn

Issue 2988853002: Only one implementation of MockRtpPacketSink once (Closed)
Patch Set: . Created 3 years, 5 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/call/rtp_demuxer_unittest.cc » ('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 c40b557d4cda89b7ff9a53e4fc727d32962002b9..62b8ac465f1ee7efc2b36279e417d7d4d3b6f915 100644
--- a/webrtc/call/BUILD.gn
+++ b/webrtc/call/BUILD.gn
@@ -34,7 +34,7 @@ rtc_source_set("call_interfaces") {
}
# TODO(nisse): These RTP targets should be moved elsewhere
-# when interfaces have stabilized.
+# when interfaces have stabilized. See also TODO for |mock_rtp_interfaces|.
rtc_source_set("rtp_interfaces") {
sources = [
"rtcp_packet_sink_interface.h",
@@ -144,6 +144,7 @@ if (rtc_include_tests) {
]
deps = [
":call",
+ ":mock_rtp_interfaces",
":rtp_interfaces",
":rtp_receiver",
":rtp_sender",
@@ -213,4 +214,18 @@ if (rtc_include_tests) {
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
}
}
+
+ # TODO(eladalon): This should be moved, as with the TODO for |rtp_interfaces|.
+ rtc_source_set("mock_rtp_interfaces") {
+ testonly = true
+
+ sources = [
+ "test/mock_rtp_packet_sink_interface.h",
+ ]
+ deps = [
+ ":rtp_interfaces",
+ "../test:test_support",
+ "//testing/gmock",
+ ]
+ }
}
« no previous file with comments | « no previous file | webrtc/call/rtp_demuxer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698