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 import("//third_party/mojo/src/mojo/public/mojo_application.gni") | 7 import("//third_party/mojo/src/mojo/public/mojo_application.gni") |
8 | 8 |
9 mojo_native_application("view_manager") { | 9 mojo_native_application("view_manager") { |
10 sources = [ | 10 sources = [ |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 "//base", | 104 "//base", |
105 "//components/view_manager/public/cpp", | 105 "//components/view_manager/public/cpp", |
106 "//components/view_manager/public/cpp:common", | 106 "//components/view_manager/public/cpp:common", |
107 "//components/view_manager/public/interfaces", | 107 "//components/view_manager/public/interfaces", |
108 "//mojo/common", | 108 "//mojo/common", |
109 "//third_party/mojo/src/mojo/public/cpp/bindings:bindings", | 109 "//third_party/mojo/src/mojo/public/cpp/bindings:bindings", |
110 "//ui/mojo/geometry:interfaces", | 110 "//ui/mojo/geometry:interfaces", |
111 ] | 111 ] |
112 } | 112 } |
113 | 113 |
114 test("tests") { | 114 group("tests") { |
115 output_name = "view_manager_unittests" | 115 testonly = true |
| 116 deps = [ |
| 117 ":apptests", |
| 118 ":view_manager_unittests", |
| 119 "//components/view_manager/public/cpp/tests:mojo_view_manager_lib_unittests"
, |
| 120 ] |
| 121 } |
| 122 |
| 123 test("view_manager_unittests") { |
116 sources = [ | 124 sources = [ |
117 "animation_runner_unittest.cc", | 125 "animation_runner_unittest.cc", |
118 "focus_controller_unittest.cc", | 126 "focus_controller_unittest.cc", |
119 "gesture_manager_unittest.cc", | 127 "gesture_manager_unittest.cc", |
120 "scheduled_animation_group_unittest.cc", | 128 "scheduled_animation_group_unittest.cc", |
121 "server_view_drawn_tracker_unittest.cc", | 129 "server_view_drawn_tracker_unittest.cc", |
122 "test_server_view_delegate.cc", | 130 "test_server_view_delegate.cc", |
123 "test_server_view_delegate.h", | 131 "test_server_view_delegate.h", |
124 "view_coordinate_conversions_unittest.cc", | 132 "view_coordinate_conversions_unittest.cc", |
125 "view_manager_service_unittest.cc", | 133 "view_manager_service_unittest.cc", |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 "//base/test:test_config", | 174 "//base/test:test_config", |
167 "//components/view_manager/public/cpp", | 175 "//components/view_manager/public/cpp", |
168 "//components/view_manager/public/interfaces", | 176 "//components/view_manager/public/interfaces", |
169 "//mojo/application/public/cpp:test_support", | 177 "//mojo/application/public/cpp:test_support", |
170 "//ui/mojo/geometry:interfaces", | 178 "//ui/mojo/geometry:interfaces", |
171 "//ui/mojo/geometry:util", | 179 "//ui/mojo/geometry:util", |
172 ] | 180 ] |
173 | 181 |
174 data_deps = [ ":view_manager" ] | 182 data_deps = [ ":view_manager" ] |
175 } | 183 } |
OLD | NEW |