diff --git a/test/BUILD.gn b/test/BUILD.gn index a7cd3427d6..68ae709ad5 100644 --- a/test/BUILD.gn +++ b/test/BUILD.gn @@ -22,6 +22,7 @@ if (!build_with_chromium) { ":test_common", ":test_renderer", ":test_support", + ":test_video_capturer", ":video_test_common", ] @@ -110,6 +111,21 @@ rtc_library("frame_utils") { ] } +rtc_library("test_video_capturer") { + testonly = true + sources = [ + "test_video_capturer.cc", + "test_video_capturer.h", + ] + deps = [ + "../api:scoped_refptr", + "../api/video:video_frame", + "../api/video:video_rtp_headers", + "../media:rtc_media_base", + "../rtc_base/synchronization:mutex", + ] +} + rtc_library("video_test_common") { visibility = [ "*" ] testonly = true diff --git a/test/pc/e2e/BUILD.gn b/test/pc/e2e/BUILD.gn index 635b917ba0..3920db075c 100644 --- a/test/pc/e2e/BUILD.gn +++ b/test/pc/e2e/BUILD.gn @@ -121,6 +121,17 @@ if (!build_with_chromium) { ] } + rtc_library("test_video_capturer_video_track_source") { + testonly = true + sources = [ "media/test_video_capturer_video_track_source.h" ] + deps = [ + "../..:test_video_capturer", + "../../../api:sequence_checker", + "../../../api/test/video:test_video_track_source", + "../../../api/video:video_frame", + ] + } + rtc_library("media_helper") { testonly = true sources = [