Index: ui/base/BUILD.gn |
diff --git a/ui/base/BUILD.gn b/ui/base/BUILD.gn |
index e50e40292788dcebf46af8fc5cd53e6c7264cbc0..04909bb8966cf12e9137cc339d8ca2278bb50596 100644 |
--- a/ui/base/BUILD.gn |
+++ b/ui/base/BUILD.gn |
@@ -598,7 +598,7 @@ component("base") { |
# Aura clipboard. |
if (use_aura) { |
- if (use_clipboard_aurax11) { |
+ if (use_x11 && is_desktop_linux) { |
sources += [ |
"clipboard/clipboard_aurax11.cc", |
"clipboard/clipboard_aurax11.h", |