OLD | NEW |
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("shutdown") { | 10 source_set("shutdown") { |
11 testonly = true | 11 testonly = true |
12 sources = [ | 12 sources = [ |
13 "shutdown_unittest.cc", | 13 "shutdown_unittest.cc", |
14 ] | 14 ] |
15 | 15 |
16 deps = [ | 16 deps = [ |
17 ":interfaces", | 17 ":interfaces", |
18 ":shutdown_client", | 18 ":shutdown_client", |
19 ":shutdown_service", | 19 ":shutdown_service", |
20 "//base", | 20 "//base", |
21 "//base/test:test_config", | 21 "//base/test:test_config", |
22 "//services/shell/public/cpp:service_test_support", | 22 "//services/service_manager/public/cpp:service_test_support", |
23 "//services/shell/public/cpp:sources", | 23 "//services/service_manager/public/cpp:sources", |
24 "//services/shell/public/interfaces", | 24 "//services/service_manager/public/interfaces", |
25 ] | 25 ] |
26 | 26 |
27 data_deps = [ | 27 data_deps = [ |
28 ":shutdown_client", | 28 ":shutdown_client", |
29 ":shutdown_service", | 29 ":shutdown_service", |
30 ":shutdown_unittest_manifest", | 30 ":shutdown_unittest_manifest", |
31 ] | 31 ] |
32 } | 32 } |
33 | 33 |
34 mojom("interfaces") { | 34 mojom("interfaces") { |
(...skipping 13 matching lines...) Expand all Loading... |
48 } | 48 } |
49 | 49 |
50 service("shutdown_service") { | 50 service("shutdown_service") { |
51 testonly = true | 51 testonly = true |
52 sources = [ | 52 sources = [ |
53 "shutdown_service_app.cc", | 53 "shutdown_service_app.cc", |
54 ] | 54 ] |
55 deps = [ | 55 deps = [ |
56 ":interfaces", | 56 ":interfaces", |
57 "//base", | 57 "//base", |
58 "//services/shell/public/cpp:sources", | 58 "//services/service_manager/public/cpp:sources", |
59 "//services/shell/public/interfaces", | 59 "//services/service_manager/public/interfaces", |
60 ] | 60 ] |
61 data_deps = [ | 61 data_deps = [ |
62 ":shutdown_service_manifest", | 62 ":shutdown_service_manifest", |
63 ] | 63 ] |
64 } | 64 } |
65 | 65 |
66 service_manifest("shutdown_client_manifest") { | 66 service_manifest("shutdown_client_manifest") { |
67 name = "shutdown_client" | 67 name = "shutdown_client" |
68 source = "shutdown_client_manifest.json" | 68 source = "shutdown_client_manifest.json" |
69 } | 69 } |
70 | 70 |
71 service("shutdown_client") { | 71 service("shutdown_client") { |
72 testonly = true | 72 testonly = true |
73 sources = [ | 73 sources = [ |
74 "shutdown_client_app.cc", | 74 "shutdown_client_app.cc", |
75 ] | 75 ] |
76 deps = [ | 76 deps = [ |
77 ":interfaces", | 77 ":interfaces", |
78 "//base", | 78 "//base", |
79 "//services/shell/public/cpp:sources", | 79 "//services/service_manager/public/cpp:sources", |
80 "//services/shell/public/interfaces", | 80 "//services/service_manager/public/interfaces", |
81 ] | 81 ] |
82 data_deps = [ | 82 data_deps = [ |
83 ":shutdown_client_manifest", | 83 ":shutdown_client_manifest", |
84 ] | 84 ] |
85 } | 85 } |
OLD | NEW |