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

Side by Side Diff: services/ui/ws/BUILD.gn

Issue 2903423003: Move ui_services_unittests into service_unittest. (Closed)
Patch Set: and not is_mac Created 3 years, 6 months 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
OLDNEW
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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 "//services/ui/public/interfaces", 214 "//services/ui/public/interfaces",
215 "//testing/gtest", 215 "//testing/gtest",
216 "//ui/aura", 216 "//ui/aura",
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 source_set("tests") {
225 testonly = true 225 testonly = true
226 deps = [
227 ":ui_service_unittests",
228 ]
229 }
230 226
231 service_test("ui_service_unittests") {
232 sources = [ 227 sources = [
233 "cursor_location_manager_unittest.cc", 228 "cursor_location_manager_unittest.cc",
234 "cursor_state_unittest.cc", 229 "cursor_state_unittest.cc",
235 "cursor_unittest.cc", 230 "cursor_unittest.cc",
236 "display_unittest.cc", 231 "display_unittest.cc",
237 "drag_controller_unittest.cc", 232 "drag_controller_unittest.cc",
238 "event_dispatcher_unittest.cc", 233 "event_dispatcher_unittest.cc",
239 "event_matcher_unittest.cc", 234 "event_matcher_unittest.cc",
240 "focus_controller_unittest.cc", 235 "focus_controller_unittest.cc",
241 "frame_generator_unittest.cc", 236 "frame_generator_unittest.cc",
(...skipping 18 matching lines...) Expand all
260 # window mode, since the host system is always the window manager. 255 # window mode, since the host system is always the window manager.
261 sources += [ "window_manager_client_unittest.cc" ] 256 sources += [ "window_manager_client_unittest.cc" ]
262 } 257 }
263 258
264 # TODO(jamescook): Run this test on non-ozone platforms. This will require 259 # TODO(jamescook): Run this test on non-ozone platforms. This will require
265 # initializing all the platform-specific windowing support. 260 # initializing all the platform-specific windowing support.
266 if (use_ozone) { 261 if (use_ozone) {
267 sources += [ "platform_display_default_unittest.cc" ] 262 sources += [ "platform_display_default_unittest.cc" ]
268 } 263 }
269 264
270 catalog = ":ui_service_unittests_catalog"
271
272 deps = [ 265 deps = [
273 ":lib", 266 ":lib",
274 ":test_support", 267 ":test_support",
275 "//base", 268 "//base",
276 "//base/test:test_config", 269 "//base/test:test_config",
277 "//base/test:test_support", 270 "//base/test:test_support",
278 "//cc:cc", 271 "//cc:cc",
279 "//cc:test_support", 272 "//cc:test_support",
280 "//gpu/ipc/client", 273 "//gpu/ipc/client",
281 "//mojo/public/cpp/bindings:bindings", 274 "//mojo/public/cpp/bindings:bindings",
(...skipping 11 matching lines...) Expand all
293 "//ui/aura:test_support", 286 "//ui/aura:test_support",
294 "//ui/events", 287 "//ui/events",
295 "//ui/gfx", 288 "//ui/gfx",
296 "//ui/gfx:test_support", 289 "//ui/gfx:test_support",
297 "//ui/gfx/geometry", 290 "//ui/gfx/geometry",
298 "//ui/gfx/geometry/mojo", 291 "//ui/gfx/geometry/mojo",
299 "//ui/gl", 292 "//ui/gl",
300 ] 293 ]
301 } 294 }
302 295
303 service_manifest("ui_service_unittests_app_manifest") { 296 service_manifest("unittests_manifest") {
304 name = "ui_service_unittests_app" 297 name = "ui_service_unittests"
305 source = "ui_service_unittests_app_manifest.json" 298 source = "test_manifest.json"
306 } 299 }
307 300
308 catalog("ui_service_unittests_catalog") { 301 catalog("tests_catalog") {
309 embedded_services = [ ":ui_service_unittests_app_manifest" ] 302 testonly = true
310 303 embedded_services = [ ":unittests_manifest" ]
311 standalone_services = [ "//services/ui:manifest" ]
312 } 304 }
OLDNEW
« no previous file with comments | « services/ui/public/cpp/tests/window_server_test_suite.cc ('k') | services/ui/ws/test_manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698