OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 | 7 |
8 if (is_android) { | 8 if (is_android) { |
9 import("//build/config/android/rules.gni") | 9 import("//build/config/android/rules.gni") |
10 } | 10 } |
11 | 11 |
12 component("touch_selection") { | 12 component("touch_selection") { |
13 output_name = "ui_touch_selection" | 13 output_name = "ui_touch_selection" |
14 | 14 |
15 sources = [ | 15 sources = [ |
| 16 "longpress_drag_selector.cc", |
| 17 "longpress_drag_selector.h", |
16 "selection_event_type.h", | 18 "selection_event_type.h", |
17 "touch_handle.cc", | 19 "touch_handle.cc", |
18 "touch_handle.h", | 20 "touch_handle.h", |
19 "touch_handle_orientation.h", | 21 "touch_handle_orientation.h", |
20 "touch_selection_controller.cc", | 22 "touch_selection_controller.cc", |
21 "touch_selection_controller.h", | 23 "touch_selection_controller.h", |
| 24 "touch_selection_draggable.h", |
22 "ui_touch_selection_export.h", | 25 "ui_touch_selection_export.h", |
23 ] | 26 ] |
24 | 27 |
25 defines = [ "UI_TOUCH_SELECTION_IMPLEMENTATION" ] | 28 defines = [ "UI_TOUCH_SELECTION_IMPLEMENTATION" ] |
26 | 29 |
27 deps = [ | 30 deps = [ |
28 "//base:base", | 31 "//base:base", |
29 "//ui/base:base", | 32 "//ui/base:base", |
30 "//ui/events:events", | 33 "//ui/events:events", |
31 "//ui/events:gesture_detection", | 34 "//ui/events:gesture_detection", |
(...skipping 30 matching lines...) Expand all Loading... |
62 } | 65 } |
63 java_cpp_enum("ui_touch_handle_orientation_srcjar") { | 66 java_cpp_enum("ui_touch_handle_orientation_srcjar") { |
64 sources = [ | 67 sources = [ |
65 "touch_handle_orientation.h", | 68 "touch_handle_orientation.h", |
66 ] | 69 ] |
67 outputs = [ | 70 outputs = [ |
68 "org/chromium/ui/touch_selection/TouchHandleOrientation.java", | 71 "org/chromium/ui/touch_selection/TouchHandleOrientation.java", |
69 ] | 72 ] |
70 } | 73 } |
71 } | 74 } |
OLD | NEW |