Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1494)

Side by Side Diff: ui/touch_selection/BUILD.gn

Issue 759433002: Reland: Move TouchSelectionController from content to ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Excluded ui/touch_selection from Windows GN build Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/base/ui_base_tests.gyp ('k') | ui/touch_selection/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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.
4
5 import("//build/config/ui.gni")
6
7 if (is_android) {
8 import("//build/config/android/rules.gni")
9 }
10
11 component("touch_selection") {
12 output_name = "ui_touch_selection"
13
14 sources = [
15 "selection_event_type.h",
16 "touch_handle.cc",
17 "touch_handle.h",
18 "touch_selection_controller.cc",
19 "touch_selection_controller.h",
20 "ui_touch_selection_export.h",
21 ]
22
23 defines = [ "UI_TOUCH_SELECTION_IMPLEMENTATION" ]
24
25 deps = [
26 "//base:base",
27 "//ui/base:base",
28 "//ui/events:events",
29 "//ui/events:gesture_detection",
30 "//ui/gfx/geometry:geometry",
31 ]
32 }
33
34 test("ui_touch_selection_unittests") {
35 sources = [
36 "touch_handle_unittest.cc",
37 "touch_selection_controller_unittest.cc",
38 ]
39
40 deps = [
41 ":touch_selection",
42 "//base/test:run_all_unittests",
43 "//testing/gtest:gtest",
44 "//ui/base:base",
45 "//ui/events:test_support",
46 "//ui/gfx:gfx",
47 "//ui/gfx:test_support",
48 ]
49 }
50
51 if (is_android) {
52 java_cpp_enum("ui_touch_selection_enums_srcjar") {
53 sources = [
54 "selection_event_type.h",
55 ]
56 outputs = [
57 "org/chromium/ui/touch_selection/SelectionEventType.java",
58 ]
59 }
60 }
OLDNEW
« no previous file with comments | « ui/base/ui_base_tests.gyp ('k') | ui/touch_selection/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698