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

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

Issue 2885193002: Move more mus tests to service_unittest. (Closed)
Patch Set: Rebase to tot 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
« no previous file with comments | « services/BUILD.gn ('k') | services/ui/ime/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/catalog/public/tools/catalog.gni")
7 import("//services/service_manager/public/cpp/service.gni") 7 import("//services/service_manager/public/cpp/service.gni")
8 import("//services/service_manager/public/service_manifest.gni") 8 import("//services/service_manager/public/service_manifest.gni")
9 import("//services/service_manager/public/tools/test/service_test.gni") 9 import("//services/service_manager/public/tools/test/service_test.gni")
10 import("//testing/test.gni") 10 import("//testing/test.gni")
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 61
62 deps = [ 62 deps = [
63 ":lib", 63 ":lib",
64 ] 64 ]
65 65
66 data_deps = [ 66 data_deps = [
67 "//services/ui", 67 "//services/ui",
68 ] 68 ]
69 } 69 }
70 70
71 group("demo") {
72 deps = [
73 ":mus_demo",
74 ]
75 }
76
71 service_manifest("manifest") { 77 service_manifest("manifest") {
72 name = "mus_demo" 78 name = "mus_demo"
73 source = "manifest.json" 79 source = "manifest.json"
74 } 80 }
75 81
76 service_manifest("test_manifest") { 82 source_set("tests") {
77 name = "mus_demo_unittests"
78 source = "test_manifest.json"
79 }
80
81 service_test("mus_demo_unittests") {
82 testonly = true 83 testonly = true
83 84
84 sources = [ 85 sources = [
85 "mus_demo_unittests.cc", 86 "mus_demo_unittests.cc",
86 ] 87 ]
87 88
88 catalog = ":mus_demo_unittests_catalog"
89
90 deps = [ 89 deps = [
91 ":demo", 90 ":demo",
92 "//base", 91 "//base",
93 "//services/service_manager/public/cpp", 92 "//services/service_manager/public/cpp",
94 "//services/service_manager/public/cpp:service_test_support", 93 "//services/service_manager/public/cpp:service_test_support",
95 "//services/ui/public/interfaces", 94 "//services/ui/public/interfaces",
96 "//testing/gtest", 95 "//testing/gtest",
97 ] 96 ]
98 97
99 data_deps = [ 98 data_deps = [
100 ":mus_demo", 99 ":mus_demo",
100 "//services/ui",
101 ] 101 ]
102 } 102 }
103 103
104 group("demo") { 104 service_manifest("unittest_manifest") {
105 deps = [ 105 name = "mus_demo_unittests"
106 ":mus_demo", 106 source = "test_manifest.json"
107 ]
108 } 107 }
109 108
110 catalog("mus_demo_unittests_catalog") { 109 catalog("tests_catalog") {
111 embedded_services = [ ":test_manifest" ] 110 testonly = true
112 111 embedded_services = [ ":unittest_manifest" ]
113 standalone_services = [ 112 standalone_services = [ ":manifest" ]
114 ":manifest",
115 "//services/ui:manifest",
116 ]
117 } 113 }
OLDNEW
« no previous file with comments | « services/BUILD.gn ('k') | services/ui/ime/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698