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

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

Issue 2652273002: Remove all service manifests from data_deps (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/catalog/public/tools/catalog.gni")
6 import("//services/service_manager/public/cpp/service.gni") 6 import("//services/service_manager/public/cpp/service.gni")
7 import("//services/service_manager/public/service_manifest.gni") 7 import("//services/service_manager/public/service_manifest.gni")
8 import("//mojo/public/tools/bindings/mojom.gni") 8 import("//mojo/public/tools/bindings/mojom.gni")
9 import("//testing/test.gni") 9 import("//testing/test.gni")
10 10
(...skipping 11 matching lines...) Expand all
22 "//services/service_manager/public/interfaces", 22 "//services/service_manager/public/interfaces",
23 "//services/service_manager/runner/common", 23 "//services/service_manager/runner/common",
24 "//services/service_manager/tests:util", 24 "//services/service_manager/tests:util",
25 ] 25 ]
26 26
27 data_deps = [ 27 data_deps = [
28 ":lifecycle_unittest_app", 28 ":lifecycle_unittest_app",
29 ":lifecycle_unittest_parent", 29 ":lifecycle_unittest_parent",
30 ":lifecycle_unittest_exe", 30 ":lifecycle_unittest_exe",
31 ":lifecycle_unittest_package", 31 ":lifecycle_unittest_package",
32 ":manifest",
33 ] 32 ]
34 } 33 }
35 34
36 mojom("interfaces") { 35 mojom("interfaces") {
37 sources = [ 36 sources = [
38 "lifecycle_unittest.mojom", 37 "lifecycle_unittest.mojom",
39 ] 38 ]
40 } 39 }
41 40
42 service_manifest("manifest") { 41 service_manifest("manifest") {
(...skipping 29 matching lines...) Expand all
72 sources = [ 71 sources = [
73 "package.cc", 72 "package.cc",
74 ] 73 ]
75 deps = [ 74 deps = [
76 ":app_client", 75 ":app_client",
77 ":interfaces", 76 ":interfaces",
78 "//base", 77 "//base",
79 "//services/service_manager/public/cpp:sources", 78 "//services/service_manager/public/cpp:sources",
80 "//services/service_manager/public/interfaces", 79 "//services/service_manager/public/interfaces",
81 ] 80 ]
82 data_deps = [
83 ":lifecycle_unittest_package_manifest",
84 ]
85 } 81 }
86 82
87 service_manifest("lifecycle_unittest_package_manifest") { 83 service_manifest("lifecycle_unittest_package_manifest") {
88 name = "lifecycle_unittest_package" 84 name = "lifecycle_unittest_package"
89 source = "package_manifest.json" 85 source = "package_manifest.json"
90 packaged_services = [ 86 packaged_services = [
91 ":lifecycle_unittest_package_app_a_manifest", 87 ":lifecycle_unittest_package_app_a_manifest",
92 ":lifecycle_unittest_package_app_b_manifest", 88 ":lifecycle_unittest_package_app_b_manifest",
93 ] 89 ]
94 } 90 }
95 91
96 service("lifecycle_unittest_app") { 92 service("lifecycle_unittest_app") {
97 testonly = true 93 testonly = true
98 sources = [ 94 sources = [
99 "app.cc", 95 "app.cc",
100 ] 96 ]
101 deps = [ 97 deps = [
102 ":app_client", 98 ":app_client",
103 ":interfaces", 99 ":interfaces",
104 "//base", 100 "//base",
105 "//services/service_manager/public/cpp:sources", 101 "//services/service_manager/public/cpp:sources",
106 ] 102 ]
107
108 data_deps = [
109 ":lifecycle_unittest_app_manifest",
110 ]
111 } 103 }
112 104
113 service_manifest("lifecycle_unittest_app_manifest") { 105 service_manifest("lifecycle_unittest_app_manifest") {
114 name = "lifecycle_unittest_app" 106 name = "lifecycle_unittest_app"
115 source = "app_manifest.json" 107 source = "app_manifest.json"
116 } 108 }
117 109
118 service("lifecycle_unittest_parent") { 110 service("lifecycle_unittest_parent") {
119 testonly = true 111 testonly = true
120 sources = [ 112 sources = [
121 "parent.cc", 113 "parent.cc",
122 ] 114 ]
123 deps = [ 115 deps = [
124 ":interfaces", 116 ":interfaces",
125 "//base", 117 "//base",
126 "//services/service_manager/public/cpp:sources", 118 "//services/service_manager/public/cpp:sources",
127 ] 119 ]
128
129 data_deps = [
130 ":lifecycle_unittest_parent_manifest",
131 ]
132 } 120 }
133 121
134 service_manifest("lifecycle_unittest_parent_manifest") { 122 service_manifest("lifecycle_unittest_parent_manifest") {
135 name = "lifecycle_unittest_parent" 123 name = "lifecycle_unittest_parent"
136 source = "parent_manifest.json" 124 source = "parent_manifest.json"
137 } 125 }
138 126
139 executable("lifecycle_unittest_exe") { 127 executable("lifecycle_unittest_exe") {
140 testonly = true 128 testonly = true
141 sources = [ 129 sources = [
142 "lifecycle_exe.cc", 130 "lifecycle_exe.cc",
143 ] 131 ]
144 deps = [ 132 deps = [
145 ":app_client", 133 ":app_client",
146 "//base", 134 "//base",
147 "//build/win:default_exe_manifest", 135 "//build/win:default_exe_manifest",
148 "//services/service_manager/public/cpp:sources", 136 "//services/service_manager/public/cpp:sources",
149 "//services/service_manager/public/cpp/standalone_service:main", 137 "//services/service_manager/public/cpp/standalone_service:main",
150 ] 138 ]
151
152 data_deps = [
153 ":lifecycle_unittest_exe_manifest",
154 ]
155 } 139 }
156 140
157 service_manifest("lifecycle_unittest_exe_manifest") { 141 service_manifest("lifecycle_unittest_exe_manifest") {
158 name = "lifecycle_unittest_exe" 142 name = "lifecycle_unittest_exe"
159 source = "exe_manifest.json" 143 source = "exe_manifest.json"
160 } 144 }
161 145
162 catalog("catalog") { 146 catalog("catalog") {
163 embedded_services = [ ":manifest" ] 147 embedded_services = [ ":manifest" ]
164 148
165 standalone_services = [ 149 standalone_services = [
166 ":lifecycle_unittest_app_manifest", 150 ":lifecycle_unittest_app_manifest",
167 ":lifecycle_unittest_exe_manifest", 151 ":lifecycle_unittest_exe_manifest",
168 ":lifecycle_unittest_package_manifest", 152 ":lifecycle_unittest_package_manifest",
169 ":lifecycle_unittest_parent_manifest", 153 ":lifecycle_unittest_parent_manifest",
170 ] 154 ]
171 } 155 }
OLDNEW
« no previous file with comments | « services/service_manager/tests/connect/BUILD.gn ('k') | services/service_manager/tests/service_manager/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698