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

Unified Diff: services/ui/demo/BUILD.gn

Issue 2885193002: Move more mus tests to service_unittest. (Closed)
Patch Set: Rebase 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/BUILD.gn ('k') | services/ui/ime/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/demo/BUILD.gn
diff --git a/services/ui/demo/BUILD.gn b/services/ui/demo/BUILD.gn
index a22e6a3d85cc9a2aa31e916aed751ef6b1ae4a32..46934e41435b5d2f349f8ac7e1ae87715c2766e8 100644
--- a/services/ui/demo/BUILD.gn
+++ b/services/ui/demo/BUILD.gn
@@ -68,25 +68,24 @@ service("mus_demo") {
]
}
+group("demo") {
+ deps = [
+ ":mus_demo",
+ ]
+}
+
service_manifest("manifest") {
name = "mus_demo"
source = "manifest.json"
}
-service_manifest("test_manifest") {
- name = "mus_demo_unittests"
- source = "test_manifest.json"
-}
-
-service_test("mus_demo_unittests") {
+source_set("tests") {
testonly = true
sources = [
"mus_demo_unittests.cc",
]
- catalog = ":mus_demo_unittests_catalog"
-
deps = [
":demo",
"//base",
@@ -98,20 +97,17 @@ service_test("mus_demo_unittests") {
data_deps = [
":mus_demo",
+ "//services/ui",
]
}
-group("demo") {
- deps = [
- ":mus_demo",
- ]
+service_manifest("unittest_manifest") {
+ name = "mus_demo_unittests"
+ source = "test_manifest.json"
}
-catalog("mus_demo_unittests_catalog") {
- embedded_services = [ ":test_manifest" ]
-
- standalone_services = [
- ":manifest",
- "//services/ui:manifest",
- ]
+catalog("tests_catalog") {
+ testonly = true
+ embedded_services = [ ":unittest_manifest" ]
+ standalone_services = [ ":manifest" ]
}
« 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