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

Unified Diff: ui/base/BUILD.gn

Issue 2878403002: Support setting mouse cursor icon in Android N. (Closed)
Patch Set: Support setting mouse cursor icon in Android N Created 3 years, 7 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
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.

Powered by Google App Engine
This is Rietveld 408576698