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("//services/catalog/public/tools/catalog.gni") | 7 import("//services/catalog/public/tools/catalog.gni") |
8 import("//services/service_manager/public/cpp/service.gni") | 8 import("//services/service_manager/public/cpp/service.gni") |
9 import("//services/service_manager/public/service_manifest.gni") | 9 import("//services/service_manager/public/service_manifest.gni") |
10 import("//services/service_manager/public/tools/test/service_test.gni") | 10 import("//services/service_manager/public/tools/test/service_test.gni") |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 "//ui/display:test_support", | 217 "//ui/display:test_support", |
218 "//ui/gfx/geometry/mojo", | 218 "//ui/gfx/geometry/mojo", |
219 "//ui/gl", | 219 "//ui/gl", |
220 "//ui/wm", | 220 "//ui/wm", |
221 ] | 221 ] |
222 } | 222 } |
223 | 223 |
224 group("tests") { | 224 group("tests") { |
225 testonly = true | 225 testonly = true |
226 deps = [ | 226 deps = [ |
227 ":mus_ws_unittests", | 227 ":ui_service_unittests", |
228 ] | 228 ] |
229 if (!is_android) { | 229 if (!is_android) { |
230 deps += [ "//services/ui/public/cpp/tests:mus_public_unittests" ] | 230 deps += [ "//services/ui/public/cpp/tests:mus_public_unittests" ] |
231 } | 231 } |
232 } | 232 } |
233 | 233 |
234 service_test("mus_ws_unittests") { | 234 service_test("ui_service_unittests") { |
235 sources = [ | 235 sources = [ |
236 "cursor_location_manager_unittest.cc", | 236 "cursor_location_manager_unittest.cc", |
237 "cursor_state_unittest.cc", | 237 "cursor_state_unittest.cc", |
238 "cursor_unittest.cc", | 238 "cursor_unittest.cc", |
239 "display_unittest.cc", | 239 "display_unittest.cc", |
240 "drag_controller_unittest.cc", | 240 "drag_controller_unittest.cc", |
241 "event_dispatcher_unittest.cc", | 241 "event_dispatcher_unittest.cc", |
242 "event_matcher_unittest.cc", | 242 "event_matcher_unittest.cc", |
243 "focus_controller_unittest.cc", | 243 "focus_controller_unittest.cc", |
244 "frame_generator_unittest.cc", | 244 "frame_generator_unittest.cc", |
(...skipping 18 matching lines...) Expand all Loading... |
263 # window mode, since the host system is always the window manager. | 263 # window mode, since the host system is always the window manager. |
264 sources += [ "window_manager_client_unittest.cc" ] | 264 sources += [ "window_manager_client_unittest.cc" ] |
265 } | 265 } |
266 | 266 |
267 # TODO(jamescook): Run this test on non-ozone platforms. This will require | 267 # TODO(jamescook): Run this test on non-ozone platforms. This will require |
268 # initializing all the platform-specific windowing support. | 268 # initializing all the platform-specific windowing support. |
269 if (use_ozone) { | 269 if (use_ozone) { |
270 sources += [ "platform_display_default_unittest.cc" ] | 270 sources += [ "platform_display_default_unittest.cc" ] |
271 } | 271 } |
272 | 272 |
273 catalog = ":mus_ws_unittests_catalog" | 273 catalog = ":ui_service_unittests_catalog" |
274 | 274 |
275 deps = [ | 275 deps = [ |
276 ":lib", | 276 ":lib", |
277 ":test_support", | 277 ":test_support", |
278 "//base", | 278 "//base", |
279 "//base/test:test_config", | 279 "//base/test:test_config", |
280 "//base/test:test_support", | 280 "//base/test:test_support", |
281 "//cc:cc", | 281 "//cc:cc", |
282 "//cc:test_support", | 282 "//cc:test_support", |
283 "//gpu/ipc/client", | 283 "//gpu/ipc/client", |
(...skipping 12 matching lines...) Expand all Loading... |
296 "//ui/aura:test_support", | 296 "//ui/aura:test_support", |
297 "//ui/events", | 297 "//ui/events", |
298 "//ui/gfx", | 298 "//ui/gfx", |
299 "//ui/gfx:test_support", | 299 "//ui/gfx:test_support", |
300 "//ui/gfx/geometry", | 300 "//ui/gfx/geometry", |
301 "//ui/gfx/geometry/mojo", | 301 "//ui/gfx/geometry/mojo", |
302 "//ui/gl", | 302 "//ui/gl", |
303 ] | 303 ] |
304 } | 304 } |
305 | 305 |
306 service_manifest("mus_ws_unittests_app_manifest") { | 306 service_manifest("ui_service_unittests_app_manifest") { |
307 name = "mus_ws_unittests_app" | 307 name = "ui_service_unittests_app" |
308 source = "mus_ws_unittests_app_manifest.json" | 308 source = "ui_service_unittests_app_manifest.json" |
309 } | 309 } |
310 | 310 |
311 catalog("mus_ws_unittests_catalog") { | 311 catalog("ui_service_unittests_catalog") { |
312 embedded_services = [ ":mus_ws_unittests_app_manifest" ] | 312 embedded_services = [ ":ui_service_unittests_app_manifest" ] |
313 | 313 |
314 standalone_services = [ "//services/ui:manifest" ] | 314 standalone_services = [ "//services/ui:manifest" ] |
315 } | 315 } |
OLD | NEW |