Extract test_video_capturer and test_video_capturer_video_track_source
Extract test_video_capturer and test_video_capturer_video_track_source into a separate targets. Bug: b/272350185 Change-Id: Iaeefdb58de94d3a25291bfd09c39b3277c18e18a Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/299060 Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Commit-Queue: Artem Titov <titovartem@webrtc.org> Cr-Commit-Position: refs/heads/main@{#39672}
This commit is contained in:
parent
0e5501f0ff
commit
a077c810a8
@ -22,6 +22,7 @@ if (!build_with_chromium) {
|
|||||||
":test_common",
|
":test_common",
|
||||||
":test_renderer",
|
":test_renderer",
|
||||||
":test_support",
|
":test_support",
|
||||||
|
":test_video_capturer",
|
||||||
":video_test_common",
|
":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") {
|
rtc_library("video_test_common") {
|
||||||
visibility = [ "*" ]
|
visibility = [ "*" ]
|
||||||
testonly = true
|
testonly = true
|
||||||
|
|||||||
@ -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") {
|
rtc_library("media_helper") {
|
||||||
testonly = true
|
testonly = true
|
||||||
sources = [
|
sources = [
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user