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/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 17 matching lines...) Expand all Loading... |
28 data_deps = [ | 28 data_deps = [ |
29 ":shutdown_client", | 29 ":shutdown_client", |
30 ":shutdown_service", | 30 ":shutdown_service", |
31 ] | 31 ] |
32 } | 32 } |
33 | 33 |
34 mojom("interfaces") { | 34 mojom("interfaces") { |
35 sources = [ | 35 sources = [ |
36 "shutdown_unittest.mojom", | 36 "shutdown_unittest.mojom", |
37 ] | 37 ] |
| 38 |
| 39 # TODO(crbug.com/714018): Convert the implementation to use OnceCallback. |
| 40 use_once_callback = false |
38 } | 41 } |
39 | 42 |
40 service_manifest("shutdown_unittest_manifest") { | 43 service_manifest("shutdown_unittest_manifest") { |
41 name = "shutdown_unittest" | 44 name = "shutdown_unittest" |
42 source = "shutdown_unittest_manifest.json" | 45 source = "shutdown_unittest_manifest.json" |
43 } | 46 } |
44 | 47 |
45 service_manifest("shutdown_service_manifest") { | 48 service_manifest("shutdown_service_manifest") { |
46 name = "shutdown_service" | 49 name = "shutdown_service" |
47 source = "shutdown_service_manifest.json" | 50 source = "shutdown_service_manifest.json" |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 } | 82 } |
80 | 83 |
81 catalog("catalog") { | 84 catalog("catalog") { |
82 embedded_services = [ ":shutdown_unittest_manifest" ] | 85 embedded_services = [ ":shutdown_unittest_manifest" ] |
83 | 86 |
84 standalone_services = [ | 87 standalone_services = [ |
85 ":shutdown_client_manifest", | 88 ":shutdown_client_manifest", |
86 ":shutdown_service_manifest", | 89 ":shutdown_service_manifest", |
87 ] | 90 ] |
88 } | 91 } |
OLD | NEW |