Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(427)

Unified Diff: webrtc/webrtc.gni

Issue 2684683003: Check for use_x11 before runnig desktop_capture_modules_tests on linux. (Closed)
Patch Set: Addressed comments. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/modules/desktop_capture/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/webrtc.gni
diff --git a/webrtc/webrtc.gni b/webrtc/webrtc.gni
index 4c34eae1922a0535f36b6ef5cb0f3ceac2d8490a..e6d746a49ea0df20adab7850a18ee875b7fe0afe 100644
--- a/webrtc/webrtc.gni
+++ b/webrtc/webrtc.gni
@@ -10,6 +10,7 @@ import("//build/config/arm.gni")
import("//build/config/features.gni")
import("//build/config/mips.gni")
import("//build/config/sanitizers/sanitizers.gni")
+import("//build/config/ui.gni")
import("//build_overrides/build.gni")
import("//testing/test.gni")
@@ -172,7 +173,7 @@ rtc_libyuv_dir = "//third_party/libyuv"
rtc_opus_dir = "//third_party/opus"
# Desktop capturer is supported only on Windows, OSX and Linux.
-rtc_desktop_capture_supported = is_win || is_mac || is_linux
+rtc_desktop_capture_supported = is_win || is_mac || (is_linux && use_x11)
###############################################################################
# Templates
« no previous file with comments | « webrtc/modules/desktop_capture/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698