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

Side by Side Diff: services/service_manager/tests/connect/BUILD.gn

Issue 2645973006: [Service Manager] Get rid of dynamic service discovery (Closed)
Patch Set: . Created 3 years, 10 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("connect") { 11 source_set("connect") {
11 testonly = true 12 testonly = true
12 sources = [ 13 sources = [
13 "connect_unittest.cc", 14 "connect_unittest.cc",
14 ] 15 ]
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 "//services/service_manager/public/interfaces", 70 "//services/service_manager/public/interfaces",
70 ] 71 ]
71 data_deps = [ 72 data_deps = [
72 ":connect_test_package_manifest", 73 ":connect_test_package_manifest",
73 ] 74 ]
74 } 75 }
75 76
76 service_manifest("connect_test_package_manifest") { 77 service_manifest("connect_test_package_manifest") {
77 name = "connect_test_package" 78 name = "connect_test_package"
78 source = "connect_test_package_manifest.json" 79 source = "connect_test_package_manifest.json"
79 deps = [ 80 packaged_services = [
80 ":connect_test_a_manifest", 81 ":connect_test_a_manifest",
81 ":connect_test_b_manifest", 82 ":connect_test_b_manifest",
82 ] 83 ]
83 packaged_services = [
84 "connect_test_a",
85 "connect_test_b",
86 ]
87 } 84 }
88 85
89 service("connect_test_app") { 86 service("connect_test_app") {
90 testonly = true 87 testonly = true
91 sources = [ 88 sources = [
92 "connect_test_app.cc", 89 "connect_test_app.cc",
93 ] 90 ]
94 deps = [ 91 deps = [
95 ":interfaces", 92 ":interfaces",
96 "//base", 93 "//base",
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 164
168 data_deps = [ 165 data_deps = [
169 ":connect_test_exe_manifest", 166 ":connect_test_exe_manifest",
170 ] 167 ]
171 } 168 }
172 169
173 service_manifest("connect_test_exe_manifest") { 170 service_manifest("connect_test_exe_manifest") {
174 name = "connect_test_exe" 171 name = "connect_test_exe"
175 source = "connect_test_exe_manifest.json" 172 source = "connect_test_exe_manifest.json"
176 } 173 }
174
175 catalog("catalog") {
176 embedded_services = [ ":manifest" ]
177
178 standalone_services = [
179 ":connect_test_app_manifest",
180 ":connect_test_class_app_manifest",
181 ":connect_test_exe_manifest",
182 ":connect_test_package_manifest",
183 ":connect_test_singleton_app_manifest",
184 ]
185 }
OLDNEW
« no previous file with comments | « services/service_manager/tests/BUILD.gn ('k') | services/service_manager/tests/lifecycle/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698