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 | 6 |
7 if (is_android) { | 7 if (is_android) { |
8 import("//build/config/android/rules.gni") | 8 import("//build/config/android/rules.gni") |
9 } | 9 } |
10 | 10 |
11 component("touch_selection") { | 11 component("touch_selection") { |
12 output_name = "ui_touch_selection" | 12 output_name = "ui_touch_selection" |
13 | 13 |
14 sources = [ | 14 sources = [ |
15 "selection_event_type.h", | 15 "selection_event_type.h", |
| 16 "selection_granularity.h", |
16 "touch_handle.cc", | 17 "touch_handle.cc", |
17 "touch_handle.h", | 18 "touch_handle.h", |
18 "touch_handle_drawable_aura.cc", | 19 "touch_handle_drawable_aura.cc", |
19 "touch_handle_drawable_aura.h", | 20 "touch_handle_drawable_aura.h", |
20 "touch_selection_controller.cc", | 21 "touch_selection_controller.cc", |
21 "touch_selection_controller.h", | 22 "touch_selection_controller.h", |
22 "touch_selection_controller_aura.cc", | 23 "touch_selection_controller_aura.cc", |
23 "touch_selection_controller_aura.h", | 24 "touch_selection_controller_aura.h", |
24 "touch_selection_menu_runner.cc", | 25 "touch_selection_menu_runner.cc", |
25 "touch_selection_menu_runner.h", | 26 "touch_selection_menu_runner.h", |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 if (is_android) { | 77 if (is_android) { |
77 java_cpp_enum("ui_touch_selection_enums_srcjar") { | 78 java_cpp_enum("ui_touch_selection_enums_srcjar") { |
78 sources = [ | 79 sources = [ |
79 "selection_event_type.h", | 80 "selection_event_type.h", |
80 ] | 81 ] |
81 outputs = [ | 82 outputs = [ |
82 "org/chromium/ui/touch_selection/SelectionEventType.java", | 83 "org/chromium/ui/touch_selection/SelectionEventType.java", |
83 ] | 84 ] |
84 } | 85 } |
85 } | 86 } |
OLD | NEW |