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

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

Issue 2419723002: Move services/shell to services/service_manager (Closed)
Patch Set: rebase Created 4 years, 2 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/shell/tests/DEPS ('k') | services/shell/tests/connect/OWNERS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 import("//services/shell/public/cpp/service.gni")
6 import("//services/shell/public/service_manifest.gni")
7 import("//mojo/public/tools/bindings/mojom.gni")
8 import("//testing/test.gni")
9
10 source_set("connect") {
11 testonly = true
12 sources = [
13 "connect_unittest.cc",
14 ]
15 deps = [
16 ":interfaces",
17 "//base",
18 "//base/test:test_support",
19 "//services/shell/public/cpp:service_test_support",
20 "//services/shell/public/cpp:sources",
21 "//services/shell/public/interfaces",
22 ]
23
24 data_deps = [
25 ":connect_test_app",
26 ":connect_test_class_app",
27 ":connect_test_singleton_app",
28 ":connect_test_driver",
29 ":connect_test_exe",
30 ":connect_test_package",
31 ":manifest",
32 ]
33 }
34
35 mojom("interfaces") {
36 sources = [
37 "connect_test.mojom",
38 ]
39 deps = [
40 "//services/shell/public/interfaces",
41 ]
42 }
43
44 service_manifest("manifest") {
45 name = "connect_unittests"
46 source = "connect_unittests_manifest.json"
47 }
48
49 service_manifest("connect_test_a_manifest") {
50 name = "connect_test_a"
51 source = "connect_test_app_a_manifest.json"
52 }
53
54 service_manifest("connect_test_b_manifest") {
55 name = "connect_test_b"
56 source = "connect_test_app_b_manifest.json"
57 }
58
59 service("connect_test_package") {
60 testonly = true
61 sources = [
62 "connect_test_package.cc",
63 ]
64 deps = [
65 ":interfaces",
66 "//base",
67 "//mojo/common:common_base",
68 "//services/shell/public/cpp:sources",
69 "//services/shell/public/interfaces",
70 ]
71 data_deps = [
72 ":connect_test_package_manifest",
73 ]
74 }
75
76 service_manifest("connect_test_package_manifest") {
77 name = "connect_test_package"
78 source = "connect_test_package_manifest.json"
79 deps = [
80 ":connect_test_a_manifest",
81 ":connect_test_b_manifest",
82 ]
83 packaged_services = [
84 "connect_test_a",
85 "connect_test_b",
86 ]
87 }
88
89 service("connect_test_app") {
90 testonly = true
91 sources = [
92 "connect_test_app.cc",
93 ]
94 deps = [
95 ":interfaces",
96 "//base",
97 "//mojo/common:common_base",
98 "//services/shell/public/cpp:sources",
99 "//services/shell/public/interfaces",
100 ]
101 data_deps = [
102 ":connect_test_app_manifest",
103 ]
104 }
105
106 service_manifest("connect_test_app_manifest") {
107 name = "connect_test_app"
108 source = "connect_test_app_manifest.json"
109 }
110
111 service("connect_test_class_app") {
112 testonly = true
113 sources = [
114 "connect_test_class_app.cc",
115 ]
116 deps = [
117 ":interfaces",
118 "//base",
119 "//mojo/common:common_base",
120 "//services/shell/public/cpp:sources",
121 "//services/shell/public/interfaces",
122 ]
123 data_deps = [
124 ":connect_test_class_app_manifest",
125 ]
126 }
127
128 service_manifest("connect_test_class_app_manifest") {
129 name = "connect_test_class_app"
130 source = "connect_test_class_app_manifest.json"
131 }
132
133 service("connect_test_singleton_app") {
134 testonly = true
135 sources = [
136 "connect_test_singleton_app.cc",
137 ]
138 deps = [
139 "//base",
140 "//mojo/common:common_base",
141 "//services/shell/public/cpp:sources",
142 ]
143 data_deps = [
144 ":connect_test_singleton_app_manifest",
145 ]
146 }
147
148 service_manifest("connect_test_singleton_app_manifest") {
149 name = "connect_test_singleton_app"
150 source = "connect_test_singleton_app_manifest.json"
151 }
152
153 executable("connect_test_driver") {
154 testonly = true
155
156 sources = [
157 "connect_test_driver.cc",
158 ]
159
160 deps = [
161 ":interfaces",
162 "//base",
163 "//build/win:default_exe_manifest",
164 "//services/shell/public/cpp",
165 "//services/shell/runner/child:test_native_main",
166 "//services/shell/tests:util",
167 ]
168
169 data_deps = [
170 ":connect_test_driver_manifest",
171 ]
172 }
173
174 service_manifest("connect_test_driver_manifest") {
175 type = "exe"
176 name = "connect_test_driver"
177 source = "connect_test_driver_manifest.json"
178 }
179
180 executable("connect_test_exe") {
181 testonly = true
182
183 sources = [
184 "connect_test_exe.cc",
185 ]
186
187 deps = [
188 ":interfaces",
189 "//base",
190 "//build/win:default_exe_manifest",
191 "//services/shell/public/cpp",
192 "//services/shell/runner/child:test_native_main",
193 ]
194
195 data_deps = [
196 ":connect_test_exe_manifest",
197 ]
198 }
199
200 service_manifest("connect_test_exe_manifest") {
201 type = "exe"
202 name = "connect_test_exe"
203 source = "connect_test_exe_manifest.json"
204 }
OLDNEW
« no previous file with comments | « services/shell/tests/DEPS ('k') | services/shell/tests/connect/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698