| 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 "selection_event_type.h", | 16 "selection_event_type.h", |
| 17 "touch_handle.cc", | 17 "touch_handle.cc", |
| 18 "touch_handle.h", | 18 "touch_handle.h", |
| 19 "touch_handle_orientation.h", |
| 19 "touch_selection_controller.cc", | 20 "touch_selection_controller.cc", |
| 20 "touch_selection_controller.h", | 21 "touch_selection_controller.h", |
| 21 "ui_touch_selection_export.h", | 22 "ui_touch_selection_export.h", |
| 22 ] | 23 ] |
| 23 | 24 |
| 24 defines = [ "UI_TOUCH_SELECTION_IMPLEMENTATION" ] | 25 defines = [ "UI_TOUCH_SELECTION_IMPLEMENTATION" ] |
| 25 | 26 |
| 26 deps = [ | 27 deps = [ |
| 27 "//base:base", | 28 "//base:base", |
| 28 "//ui/base:base", | 29 "//ui/base:base", |
| (...skipping 22 matching lines...) Expand all Loading... |
| 51 | 52 |
| 52 if (is_android) { | 53 if (is_android) { |
| 53 java_cpp_enum("ui_touch_selection_enums_srcjar") { | 54 java_cpp_enum("ui_touch_selection_enums_srcjar") { |
| 54 sources = [ | 55 sources = [ |
| 55 "selection_event_type.h", | 56 "selection_event_type.h", |
| 56 ] | 57 ] |
| 57 outputs = [ | 58 outputs = [ |
| 58 "org/chromium/ui/touch_selection/SelectionEventType.java", | 59 "org/chromium/ui/touch_selection/SelectionEventType.java", |
| 59 ] | 60 ] |
| 60 } | 61 } |
| 62 java_cpp_enum("ui_touch_handle_orientation_srcjar") { |
| 63 sources = [ |
| 64 "touch_handle_orientation.h", |
| 65 ] |
| 66 outputs = [ |
| 67 "org/chromium/ui/touch_selection/TouchHandleOrientation.java", |
| 68 ] |
| 69 } |
| 61 } | 70 } |
| OLD | NEW |