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

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

Issue 2645973006: [Service Manager] Get rid of dynamic service discovery (Closed)
Patch Set: . Created 3 years, 11 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/ui/clipboard/run_all_unittests.cc ('k') | services/ui/demo/DEPS » ('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("//services/catalog/public/tools/catalog.gni")
5 import("//services/service_manager/public/cpp/service.gni") 6 import("//services/service_manager/public/cpp/service.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("lib") { 10 source_set("lib") {
10 sources = [ 11 sources = [
11 "mus_demo.cc", 12 "mus_demo.cc",
12 "mus_demo.h", 13 "mus_demo.h",
13 ] 14 ]
14 15
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 service_manifest("test_manifest") { 55 service_manifest("test_manifest") {
55 name = "mus_demo_unittests" 56 name = "mus_demo_unittests"
56 source = "test_manifest.json" 57 source = "test_manifest.json"
57 } 58 }
58 59
59 test("mus_demo_unittests") { 60 test("mus_demo_unittests") {
60 testonly = true 61 testonly = true
61 62
62 sources = [ 63 sources = [
63 "mus_demo_unittests.cc", 64 "mus_demo_unittests.cc",
65 "run_all_unittests.cc",
64 ] 66 ]
65 67
66 deps = [ 68 deps = [
67 ":demo", 69 ":demo",
68 "//base", 70 "//base",
71 "//base/test:test_support",
72 "//mojo/edk/system",
73 "//services/catalog:lib",
69 "//services/service_manager/public/cpp", 74 "//services/service_manager/public/cpp",
70 "//services/service_manager/public/cpp:service_test_support", 75 "//services/service_manager/public/cpp:service_test_support",
71 "//services/ui/common:run_all_service_tests",
72 "//services/ui/public/interfaces", 76 "//services/ui/public/interfaces",
73 "//testing/gtest", 77 "//testing/gtest",
74 ] 78 ]
75 79
76 data_deps = [ 80 data_deps = [
77 ":mus_demo", 81 ":mus_demo",
78 ":test_manifest", 82 ":mus_demo_unittests_catalog_copy",
79 ] 83 ]
80 } 84 }
81 85
82 group("demo") { 86 group("demo") {
83 deps = [ 87 deps = [
84 ":mus_demo", 88 ":mus_demo",
85 ] 89 ]
86 } 90 }
91
92 catalog("mus_demo_unittests_catalog") {
93 embedded_services = [ ":test_manifest" ]
94
95 standalone_services = [
96 ":manifest",
97 "//services/ui:manifest",
98 ]
99 }
100
101 copy("mus_demo_unittests_catalog_copy") {
102 sources = get_target_outputs(":mus_demo_unittests_catalog")
103 outputs = [
104 "${root_out_dir}/mus_demo_unittests_catalog.json",
105 ]
106 deps = [
107 ":mus_demo_unittests_catalog",
108 ]
109 }
OLDNEW
« no previous file with comments | « services/ui/clipboard/run_all_unittests.cc ('k') | services/ui/demo/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698