Index: ui/base/BUILD.gn |
diff --git a/ui/base/BUILD.gn b/ui/base/BUILD.gn |
index add6bfd773c2113276fc28ae49095d34f004880e..18b7bd136e777b81455efaac9f96604dc63c524a 100644 |
--- a/ui/base/BUILD.gn |
+++ b/ui/base/BUILD.gn |
@@ -302,6 +302,7 @@ component("ui_base") { |
sources -= [ |
"cursor/cursor.cc", |
"cursor/cursor.h", |
+ "dragdrop/drag_utils_aura.cc", |
"x/selection_owner.cc", |
"x/selection_owner.h", |
"x/selection_requestor.cc", |
@@ -310,6 +311,13 @@ component("ui_base") { |
"x/selection_utils.h", |
] |
} |
+ if (!use_x11) { |
+ sources -= [ |
+ "x/x11_util.cc", |
+ "x/x11_util.h", |
+ "x/x11_util_internal.h", |
+ ] |
+ } |
if (!use_aura || !is_linux) { |
sources -= [ |