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

Side by Side Diff: services/service_manager/tests/lifecycle/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
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("//mojo/public/tools/bindings/mojom.gni") 8 import("//mojo/public/tools/bindings/mojom.gni")
8 import("//testing/test.gni") 9 import("//testing/test.gni")
9 10
10 source_set("lifecycle") { 11 source_set("lifecycle") {
11 testonly = true 12 testonly = true
12 sources = [ 13 sources = [
13 "lifecycle_unittest.cc", 14 "lifecycle_unittest.cc",
14 ] 15 ]
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 "//services/service_manager/public/interfaces", 80 "//services/service_manager/public/interfaces",
80 ] 81 ]
81 data_deps = [ 82 data_deps = [
82 ":lifecycle_unittest_package_manifest", 83 ":lifecycle_unittest_package_manifest",
83 ] 84 ]
84 } 85 }
85 86
86 service_manifest("lifecycle_unittest_package_manifest") { 87 service_manifest("lifecycle_unittest_package_manifest") {
87 name = "lifecycle_unittest_package" 88 name = "lifecycle_unittest_package"
88 source = "package_manifest.json" 89 source = "package_manifest.json"
89 deps = [ 90 packaged_services = [
90 ":lifecycle_unittest_package_app_a_manifest", 91 ":lifecycle_unittest_package_app_a_manifest",
91 ":lifecycle_unittest_package_app_b_manifest", 92 ":lifecycle_unittest_package_app_b_manifest",
92 ] 93 ]
93 packaged_services = [
94 "lifecycle_unittest_package_app_a",
95 "lifecycle_unittest_package_app_b",
96 ]
97 } 94 }
98 95
99 service("lifecycle_unittest_app") { 96 service("lifecycle_unittest_app") {
100 testonly = true 97 testonly = true
101 sources = [ 98 sources = [
102 "app.cc", 99 "app.cc",
103 ] 100 ]
104 deps = [ 101 deps = [
105 ":app_client", 102 ":app_client",
106 ":interfaces", 103 ":interfaces",
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 151
155 data_deps = [ 152 data_deps = [
156 ":lifecycle_unittest_exe_manifest", 153 ":lifecycle_unittest_exe_manifest",
157 ] 154 ]
158 } 155 }
159 156
160 service_manifest("lifecycle_unittest_exe_manifest") { 157 service_manifest("lifecycle_unittest_exe_manifest") {
161 name = "lifecycle_unittest_exe" 158 name = "lifecycle_unittest_exe"
162 source = "exe_manifest.json" 159 source = "exe_manifest.json"
163 } 160 }
161
162 catalog("catalog") {
163 embedded_services = [ ":manifest" ]
164
165 standalone_services = [
166 ":lifecycle_unittest_app_manifest",
167 ":lifecycle_unittest_exe_manifest",
168 ":lifecycle_unittest_package_manifest",
169 ":lifecycle_unittest_parent_manifest",
170 ]
171 }
OLDNEW
« no previous file with comments | « services/service_manager/tests/connect/BUILD.gn ('k') | services/service_manager/tests/run_all_unittests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698