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
3 # found in the LICENSE file.
5 import("//build/config/ui.gni")
8 import("//build/config/android/rules.gni")
11 component("touch_selection") {
12 output_name = "ui_touch_selection"
15 "selection_event_type.h",
18 "touch_selection_controller.cc",
19 "touch_selection_controller.h",
20 "ui_touch_selection_export.h",
23 defines = [ "UI_TOUCH_SELECTION_IMPLEMENTATION" ]
29 "//ui/events:gesture_detection",
30 "//ui/gfx/geometry:geometry",
34 test("ui_touch_selection_unittests") {
36 "touch_handle_unittest.cc",
37 "touch_selection_controller_unittest.cc",
42 "//base/test:run_all_unittests",
43 "//testing/gtest:gtest",
45 "//ui/events:test_support",
47 "//ui/gfx:test_support",
52 java_cpp_enum("ui_touch_selection_enums_srcjar") {
54 "selection_event_type.h",
57 "org/chromium/ui/touch_selection/SelectionEventType.java",