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", |
+ ] |
+ } |
} |