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

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

Issue 2901623002: Move more tests suites to services_unittests. (Closed)
Patch Set: Oh, it was never run on android previously... Created 3 years, 7 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 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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("//services/catalog/public/tools/catalog.gni")
6 import("//services/service_manager/public/service_manifest.gni") 7 import("//services/service_manager/public/service_manifest.gni")
7 import("//testing/test.gni") 8 import("//testing/test.gni")
8 9
9 source_set("gpu") { 10 source_set("gpu") {
10 output_name = "mus_gpu" 11 output_name = "mus_gpu"
11 12
12 sources = [ 13 sources = [
13 "gpu_main.cc", 14 "gpu_main.cc",
14 "gpu_main.h", 15 "gpu_main.h",
15 "gpu_service.cc", 16 "gpu_service.cc",
(...skipping 18 matching lines...) Expand all
34 "//services/ui/surfaces", 35 "//services/ui/surfaces",
35 "//ui/gfx:memory_buffer", 36 "//ui/gfx:memory_buffer",
36 "//ui/gl/init", 37 "//ui/gl/init",
37 ] 38 ]
38 39
39 if (use_ozone) { 40 if (use_ozone) {
40 deps += [ "//ui/ozone:ozone" ] 41 deps += [ "//ui/ozone:ozone" ]
41 } 42 }
42 } 43 }
43 44
44 group("tests") { 45 if (use_aura) {
45 testonly = true 46 source_set("tests") {
46 deps = [ 47 testonly = true
47 ":mus_gpu_unittests", 48
48 ] 49 sources = [
50 "gpu_service_unittest.cc",
51 ]
52
53 deps = [
54 ":gpu",
55 "//base",
56 "//gpu",
57 "//ipc",
58 "//services/ui/gpu/interfaces",
59 "//testing/gtest",
60 "//ui/gfx:memory_buffer",
61 "//ui/gfx/geometry",
62 ]
63
64 data_deps = [
65 "//services/ui",
66 ]
67 }
68
69 service_manifest("unittest_manifest") {
70 name = "mus_gpu_unittests"
71 source = "test_manifest.json"
72 }
73
74 catalog("tests_catalog") {
75 testonly = true
76 embedded_services = [ ":unittest_manifest" ]
77 }
49 } 78 }
50
51 test("mus_gpu_unittests") {
52 deps = [
53 ":gpu",
54 "//base",
55 "//gpu",
56 "//ipc",
57 "//services/ui/common:run_all_service_tests",
58 "//services/ui/gpu/interfaces",
59 "//testing/gtest",
60 "//ui/gfx:memory_buffer",
61 "//ui/gfx/geometry",
62 ]
63
64 sources = [
65 "gpu_service_unittest.cc",
66 ]
67 }
68
69 service_manifest("mus_gpu_unittests_app_manifest") {
70 name = "mus_gpu_unittests_app"
71 source = "mus_gpu_unittests_app_manifest.json"
72 }
OLDNEW
« no previous file with comments | « services/resource_coordinator/BUILD.gn ('k') | services/ui/gpu/mus_gpu_unittests_app_manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698