aboutsummaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authorJan Grulich <grulja@gmail.com>2022-10-18 14:27:17 +0200
committerWebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-10-18 13:10:53 +0000
commit1264dc165b9989e3e53eddbefe054c6e86bbf1f7 (patch)
tree0845f2004161569434be7f3653de9de4e44189d5 /BUILD.gn
parentaafcc43440b7fba1064a4f00019fc8e60e0cc4e3 (diff)
downloadwebrtc-1264dc165b9989e3e53eddbefe054c6e86bbf1f7.tar.gz
PipeWire capturer: add initial test for SharedScreenCastStream
This test created another PipeWire stream we can connect to with SharedScreenCastStream and recieve frames from there. This is an initial version, where I test whether we can successfuly connect and disconnect, receive frames and it also tests DesktopFrameQueue. In the future I will add tests to test mouse cursor and try to come up with some corner cases and possible scenarios. Bug: webrtc:13429 Change-Id: Ib2a749207085c6324ffe3d5cc8f2f9c631fa6459 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/256267 Reviewed-by: Christoffer Jansson <jansson@webrtc.org> Reviewed-by: Mark Foltz <mfoltz@chromium.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Jan Grulich <grulja@gmail.com> Reviewed-by: Jeremy Leconte <jleconte@webrtc.org> Cr-Commit-Position: refs/heads/main@{#38431}
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn3
1 files changed, 3 insertions, 0 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 3caa4c50cc..f962484154 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -106,6 +106,9 @@ if (!build_with_chromium) {
"tools_webrtc/perf:webrtc_dashboard_upload",
]
}
+ if ((is_linux || is_chromeos) && rtc_use_pipewire) {
+ deps += [ "modules/desktop_capture:shared_screencast_stream_test" ]
+ }
}
if (target_os == "android") {
deps += [ "tools_webrtc:binary_version_check" ]