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

Side by Side Diff: services/service_manager/tests/lifecycle/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
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/shell/public/cpp/service.gni") 5 import("//services/service_manager/public/cpp/service.gni")
6 import("//services/shell/public/service_manifest.gni") 6 import("//services/service_manager/public/service_manifest.gni")
7 import("//mojo/public/tools/bindings/mojom.gni") 7 import("//mojo/public/tools/bindings/mojom.gni")
8 import("//testing/test.gni") 8 import("//testing/test.gni")
9 9
10 source_set("lifecycle") { 10 source_set("lifecycle") {
11 testonly = true 11 testonly = true
12 sources = [ 12 sources = [
13 "lifecycle_unittest.cc", 13 "lifecycle_unittest.cc",
14 ] 14 ]
15 deps = [ 15 deps = [
16 ":interfaces", 16 ":interfaces",
17 "//base", 17 "//base",
18 "//base/test:test_support", 18 "//base/test:test_support",
19 "//services/shell/public/cpp:service_test_support", 19 "//services/service_manager/public/cpp:service_test_support",
20 "//services/shell/public/cpp:sources", 20 "//services/service_manager/public/cpp:sources",
21 "//services/shell/public/interfaces", 21 "//services/service_manager/public/interfaces",
22 "//services/shell/runner/common", 22 "//services/service_manager/runner/common",
23 "//services/shell/tests:util", 23 "//services/service_manager/tests:util",
24 ] 24 ]
25 25
26 data_deps = [ 26 data_deps = [
27 ":lifecycle_unittest_app", 27 ":lifecycle_unittest_app",
28 ":lifecycle_unittest_parent", 28 ":lifecycle_unittest_parent",
29 ":lifecycle_unittest_exe", 29 ":lifecycle_unittest_exe",
30 ":lifecycle_unittest_package", 30 ":lifecycle_unittest_package",
31 ":manifest", 31 ":manifest",
32 ] 32 ]
33 } 33 }
(...skipping 20 matching lines...) Expand all
54 } 54 }
55 55
56 source_set("app_client") { 56 source_set("app_client") {
57 sources = [ 57 sources = [
58 "app_client.cc", 58 "app_client.cc",
59 "app_client.h", 59 "app_client.h",
60 ] 60 ]
61 deps = [ 61 deps = [
62 ":interfaces", 62 ":interfaces",
63 "//base", 63 "//base",
64 "//services/shell/public/cpp:sources", 64 "//services/service_manager/public/cpp:sources",
65 "//services/shell/public/interfaces", 65 "//services/service_manager/public/interfaces",
66 ] 66 ]
67 } 67 }
68 68
69 service("lifecycle_unittest_package") { 69 service("lifecycle_unittest_package") {
70 testonly = true 70 testonly = true
71 sources = [ 71 sources = [
72 "package.cc", 72 "package.cc",
73 ] 73 ]
74 deps = [ 74 deps = [
75 ":app_client", 75 ":app_client",
76 ":interfaces", 76 ":interfaces",
77 "//base", 77 "//base",
78 "//services/shell/public/cpp:sources", 78 "//services/service_manager/public/cpp:sources",
79 "//services/shell/public/interfaces", 79 "//services/service_manager/public/interfaces",
80 ] 80 ]
81 data_deps = [ 81 data_deps = [
82 ":lifecycle_unittest_package_manifest", 82 ":lifecycle_unittest_package_manifest",
83 ] 83 ]
84 } 84 }
85 85
86 service_manifest("lifecycle_unittest_package_manifest") { 86 service_manifest("lifecycle_unittest_package_manifest") {
87 name = "lifecycle_unittest_package" 87 name = "lifecycle_unittest_package"
88 source = "package_manifest.json" 88 source = "package_manifest.json"
89 deps = [ 89 deps = [
90 ":lifecycle_unittest_package_app_a_manifest", 90 ":lifecycle_unittest_package_app_a_manifest",
91 ":lifecycle_unittest_package_app_b_manifest", 91 ":lifecycle_unittest_package_app_b_manifest",
92 ] 92 ]
93 packaged_services = [ 93 packaged_services = [
94 "lifecycle_unittest_package_app_a", 94 "lifecycle_unittest_package_app_a",
95 "lifecycle_unittest_package_app_b", 95 "lifecycle_unittest_package_app_b",
96 ] 96 ]
97 } 97 }
98 98
99 service("lifecycle_unittest_app") { 99 service("lifecycle_unittest_app") {
100 testonly = true 100 testonly = true
101 sources = [ 101 sources = [
102 "app.cc", 102 "app.cc",
103 ] 103 ]
104 deps = [ 104 deps = [
105 ":app_client", 105 ":app_client",
106 ":interfaces", 106 ":interfaces",
107 "//base", 107 "//base",
108 "//services/shell/public/cpp:sources", 108 "//services/service_manager/public/cpp:sources",
109 ] 109 ]
110 110
111 data_deps = [ 111 data_deps = [
112 ":lifecycle_unittest_app_manifest", 112 ":lifecycle_unittest_app_manifest",
113 ] 113 ]
114 } 114 }
115 115
116 service_manifest("lifecycle_unittest_app_manifest") { 116 service_manifest("lifecycle_unittest_app_manifest") {
117 name = "lifecycle_unittest_app" 117 name = "lifecycle_unittest_app"
118 source = "app_manifest.json" 118 source = "app_manifest.json"
119 } 119 }
120 120
121 service("lifecycle_unittest_parent") { 121 service("lifecycle_unittest_parent") {
122 testonly = true 122 testonly = true
123 sources = [ 123 sources = [
124 "parent.cc", 124 "parent.cc",
125 ] 125 ]
126 deps = [ 126 deps = [
127 ":interfaces", 127 ":interfaces",
128 "//base", 128 "//base",
129 "//services/shell/public/cpp:sources", 129 "//services/service_manager/public/cpp:sources",
130 ] 130 ]
131 131
132 data_deps = [ 132 data_deps = [
133 ":lifecycle_unittest_parent_manifest", 133 ":lifecycle_unittest_parent_manifest",
134 ] 134 ]
135 } 135 }
136 136
137 service_manifest("lifecycle_unittest_parent_manifest") { 137 service_manifest("lifecycle_unittest_parent_manifest") {
138 name = "lifecycle_unittest_parent" 138 name = "lifecycle_unittest_parent"
139 source = "parent_manifest.json" 139 source = "parent_manifest.json"
140 } 140 }
141 141
142 executable("lifecycle_unittest_exe") { 142 executable("lifecycle_unittest_exe") {
143 testonly = true 143 testonly = true
144 sources = [ 144 sources = [
145 "lifecycle_exe.cc", 145 "lifecycle_exe.cc",
146 ] 146 ]
147 deps = [ 147 deps = [
148 ":app_client", 148 ":app_client",
149 "//base", 149 "//base",
150 "//build/win:default_exe_manifest", 150 "//build/win:default_exe_manifest",
151 "//services/shell/public/cpp:sources", 151 "//services/service_manager/public/cpp:sources",
152 "//services/shell/runner/child:test_native_main", 152 "//services/service_manager/runner/child:test_native_main",
153 ] 153 ]
154 154
155 data_deps = [ 155 data_deps = [
156 ":lifecycle_unittest_exe_manifest", 156 ":lifecycle_unittest_exe_manifest",
157 ] 157 ]
158 } 158 }
159 159
160 service_manifest("lifecycle_unittest_exe_manifest") { 160 service_manifest("lifecycle_unittest_exe_manifest") {
161 type = "exe" 161 type = "exe"
162 name = "lifecycle_unittest_exe" 162 name = "lifecycle_unittest_exe"
163 source = "exe_manifest.json" 163 source = "exe_manifest.json"
164 } 164 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698