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 } |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 "touch_selection_controller_test_api.cc", | 61 "touch_selection_controller_test_api.cc", |
62 "touch_selection_controller_test_api.h", | 62 "touch_selection_controller_test_api.h", |
63 ] | 63 ] |
64 | 64 |
65 deps = [ | 65 deps = [ |
66 ":touch_selection", | 66 ":touch_selection", |
67 "//base:base", | 67 "//base:base", |
68 ] | 68 ] |
69 } | 69 } |
70 | 70 |
71 # TODO(GYP): Delete this after we've converted everything to GN. | |
72 # The _run targets exist only for compatibility w/ GYP. | |
73 group("ui_touch_selection_unittests_run") { | |
74 testonly = true | |
75 deps = [ | |
76 ":ui_touch_selection_unittests", | |
77 ] | |
78 } | |
79 | |
80 test("ui_touch_selection_unittests") { | 71 test("ui_touch_selection_unittests") { |
81 sources = [ | 72 sources = [ |
82 "longpress_drag_selector_unittest.cc", | 73 "longpress_drag_selector_unittest.cc", |
83 "touch_handle_unittest.cc", | 74 "touch_handle_unittest.cc", |
84 "touch_selection_controller_unittest.cc", | 75 "touch_selection_controller_unittest.cc", |
85 ] | 76 ] |
86 | 77 |
87 deps = [ | 78 deps = [ |
88 ":test_support", | 79 ":test_support", |
89 ":touch_selection", | 80 ":touch_selection", |
(...skipping 16 matching lines...) Expand all Loading... |
106 sources = [ | 97 sources = [ |
107 "selection_event_type.h", | 98 "selection_event_type.h", |
108 ] | 99 ] |
109 } | 100 } |
110 java_cpp_enum("ui_touch_handle_orientation_srcjar") { | 101 java_cpp_enum("ui_touch_handle_orientation_srcjar") { |
111 sources = [ | 102 sources = [ |
112 "touch_handle_orientation.h", | 103 "touch_handle_orientation.h", |
113 ] | 104 ] |
114 } | 105 } |
115 } | 106 } |
OLD | NEW |