Index: ui/touch_selection/BUILD.gn |
diff --git a/ui/touch_selection/BUILD.gn b/ui/touch_selection/BUILD.gn |
index ede552f9d3181d968df5d56f350308e86604fbf8..be1ce90578161d891fe25d57c3a5e642ba15522d 100644 |
--- a/ui/touch_selection/BUILD.gn |
+++ b/ui/touch_selection/BUILD.gn |
@@ -16,9 +16,13 @@ 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", |
+ "touch_selection_menu_runner.cc", |
+ "touch_selection_menu_runner.h", |
"ui_touch_selection_export.h", |
] |
@@ -26,11 +30,31 @@ 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", |
+ "touch_selection_menu_runner.cc", |
+ "touch_selection_menu_runner.h", |
+ ] |
+ } |
} |
test("ui_touch_selection_unittests") { |