diff --git a/api/BUILD.gn b/api/BUILD.gn index 0966970780..d9d443bc75 100644 --- a/api/BUILD.gn +++ b/api/BUILD.gn @@ -304,6 +304,20 @@ if (rtc_include_tests) { ] } + rtc_source_set("mock_rtp") { + testonly = true + sources = [ + "test/mock_rtpreceiver.h", + "test/mock_rtpsender.h", + ] + + deps = [ + ":libjingle_peerconnection_api", + "../test:test_support", + "//testing/gmock", + ] + } + rtc_source_set("mock_video_codec_factory") { testonly = true sources = [ diff --git a/pc/BUILD.gn b/pc/BUILD.gn index 536dd23a03..ba1d8a79da 100644 --- a/pc/BUILD.gn +++ b/pc/BUILD.gn @@ -442,6 +442,7 @@ if (rtc_include_tests) { deps = [ ":peerconnection", ":rtc_pc_base", + "../api:mock_rtp", "../rtc_base:checks", "../rtc_base:stringutils", ]