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

Unified Diff: ui/touch_selection/BUILD.gn

Issue 996373002: Add Aura handles to be used in unified touch selection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed review comments Created 5 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
« no previous file with comments | « ui/resources/ui_resources.grd ('k') | ui/touch_selection/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/touch_selection/BUILD.gn
diff --git a/ui/touch_selection/BUILD.gn b/ui/touch_selection/BUILD.gn
index ede552f9d3181d968df5d56f350308e86604fbf8..c5bf894e7ecaf4887eea922f8b7bbd61e5e29bd2 100644
--- a/ui/touch_selection/BUILD.gn
+++ b/ui/touch_selection/BUILD.gn
@@ -16,6 +16,8 @@ component("touch_selection") {
"selection_event_type.h",
"touch_handle.cc",
"touch_handle.h",
+ "touch_handle_drawable_aura.cc",
+ "touch_handle_drawable_aura.h",
"touch_handle_orientation.h",
"touch_selection_controller.cc",
"touch_selection_controller.h",
@@ -26,11 +28,29 @@ component("touch_selection") {
deps = [
"//base:base",
+ "//ui/aura:aura",
+ "//ui/aura_extra:aura_extra",
"//ui/base:base",
+ "//ui/compositor:compositor",
"//ui/events:events",
"//ui/events:gesture_detection",
+ "//ui/gfx:gfx",
"//ui/gfx/geometry:geometry",
]
+
+ if (!use_aura) {
+ deps -= [
+ "//ui/aura:aura",
+ "//ui/aura_extra:aura_extra",
+ "//ui/compositor:compositor",
+ "//ui/gfx:gfx",
+ ]
+
+ sources -= [
+ "touch_handle_drawable_aura.cc",
+ "touch_handle_drawable_aura.h",
+ ]
+ }
}
test("ui_touch_selection_unittests") {
« no previous file with comments | « ui/resources/ui_resources.grd ('k') | ui/touch_selection/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698