Index: webrtc/modules/desktop_capture/BUILD.gn |
diff --git a/webrtc/modules/desktop_capture/BUILD.gn b/webrtc/modules/desktop_capture/BUILD.gn |
index bbf9ac57bbb6a7516f73ffae543cf468d54e59a0..de5163788c08d96ef64e39ebb540018d3e74acd7 100644 |
--- a/webrtc/modules/desktop_capture/BUILD.gn |
+++ b/webrtc/modules/desktop_capture/BUILD.gn |
@@ -37,8 +37,9 @@ if (rtc_include_tests) { |
testonly = true |
sources = [] |
deps = [] |
- if (rtc_desktop_capture_supported) { |
+ if (use_x11 && rtc_desktop_capture_supported) { |
kjellander_webrtc
2017/02/09 07:11:35
use_x11 is only ever true on Linux (https://cs.chr
|
deps += [ |
+ ":desktop_capture", |
":desktop_capture_mock", |
":primitives", |
":screen_drawer", |