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 |
71 test("ui_touch_selection_unittests") { | 80 test("ui_touch_selection_unittests") { |
72 sources = [ | 81 sources = [ |
73 "longpress_drag_selector_unittest.cc", | 82 "longpress_drag_selector_unittest.cc", |
74 "touch_handle_unittest.cc", | 83 "touch_handle_unittest.cc", |
75 "touch_selection_controller_unittest.cc", | 84 "touch_selection_controller_unittest.cc", |
76 ] | 85 ] |
77 | 86 |
78 deps = [ | 87 deps = [ |
79 ":test_support", | 88 ":test_support", |
80 ":touch_selection", | 89 ":touch_selection", |
(...skipping 16 matching lines...) Expand all Loading... |
97 sources = [ | 106 sources = [ |
98 "selection_event_type.h", | 107 "selection_event_type.h", |
99 ] | 108 ] |
100 } | 109 } |
101 java_cpp_enum("ui_touch_handle_orientation_srcjar") { | 110 java_cpp_enum("ui_touch_handle_orientation_srcjar") { |
102 sources = [ | 111 sources = [ |
103 "touch_handle_orientation.h", | 112 "touch_handle_orientation.h", |
104 ] | 113 ] |
105 } | 114 } |
106 } | 115 } |
OLD | NEW |