Index: ui/base/BUILD.gn |
diff --git a/ui/base/BUILD.gn b/ui/base/BUILD.gn |
index 05cb33baac5cd928c06cdca8923e9ea1fe4718ca..c078ea731e69c958d264dcf023149c3e0ec56e4f 100644 |
--- a/ui/base/BUILD.gn |
+++ b/ui/base/BUILD.gn |
@@ -336,8 +336,6 @@ component("base") { |
"clipboard/scoped_clipboard_writer.h", |
"cursor/cursor_util.cc", |
"cursor/cursor_util.h", |
- "cursor/cursors_aura.cc", |
- "cursor/cursors_aura.h", |
"cursor/image_cursors.cc", |
"cursor/image_cursors.h", |
"default_theme_provider.cc", |
@@ -356,6 +354,13 @@ component("base") { |
"text/bytes_formatting.cc", |
"text/bytes_formatting.h", |
] |
+ |
+ if (use_aura) { |
+ sources += [ |
+ "cursor/cursors_aura.cc", |
+ "cursor/cursors_aura.h", |
+ ] |
+ } |
} |
if (is_win) { |
@@ -614,6 +619,11 @@ component("base") { |
"touch/touch_editing_controller.cc", |
"ui_base_types.cc", |
] |
+ sources += [ |
+ "cursor/cursors_android.cc", |
+ "cursor/cursors_android.h", |
+ ] |
+ deps += [ "//third_party/WebKit/public:blink_cursor_headers" ] |
} |
# Aura clipboard. |