OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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("//mojo/public/tools/bindings/mojom.gni") | 5 import("//mojo/public/tools/bindings/mojom.gni") |
6 | 6 |
7 mojom_component("interfaces") { | 7 mojom_component("interfaces") { |
8 output_prefix = "service_manager_mojom" | 8 output_prefix = "service_manager_mojom" |
9 macro_prefix = "SERVICE_MANAGER_MOJOM" | 9 macro_prefix = "SERVICE_MANAGER_MOJOM" |
10 | 10 |
11 sources = [ | 11 sources = [ |
12 "connector.mojom", | 12 "connector.mojom", |
13 "interface_provider.mojom", | 13 "interface_provider.mojom", |
14 "interface_provider_spec.mojom", | 14 "interface_provider_spec.mojom", |
15 "service.mojom", | 15 "service.mojom", |
16 "service_control.mojom", | 16 "service_control.mojom", |
17 "service_factory.mojom", | 17 "service_factory.mojom", |
18 "service_manager.mojom", | 18 "service_manager.mojom", |
19 ] | 19 ] |
20 | 20 |
21 public_deps = [ | 21 public_deps = [ |
22 ":constants", | 22 ":constants", |
23 "//mojo/common:common_custom_types", | 23 "//mojo/common:common_custom_types", |
24 ] | 24 ] |
25 | 25 |
26 # TODO(crbug.com/714018): Convert the implementation to use OnceCallback. | 26 # TODO(crbug.com/714018): Convert the implementation to use OnceCallback. |
27 use_once_callback = false | 27 use_once_callback = false |
| 28 |
| 29 # TODO(crbug.com/699569): Convert to use the new JS bindings. |
| 30 use_new_js_bindings = false |
28 } | 31 } |
29 | 32 |
30 mojom_component("constants") { | 33 mojom_component("constants") { |
31 output_prefix = "service_manager_mojom_constants" | 34 output_prefix = "service_manager_mojom_constants" |
32 macro_prefix = "SERVICE_MANAGER_MOJOM_CONSTANTS" | 35 macro_prefix = "SERVICE_MANAGER_MOJOM_CONSTANTS" |
33 sources = [ | 36 sources = [ |
34 "constants.mojom", | 37 "constants.mojom", |
35 ] | 38 ] |
| 39 |
| 40 # TODO(crbug.com/699569): Convert to use the new JS bindings. |
| 41 use_new_js_bindings = false |
36 } | 42 } |
OLD | NEW |