OLD | NEW |
1 # Copyright 2017 The Chromium Authors. All rights reserved. | 1 # Copyright 2017 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("interfaces_internal") { | 7 mojom("interfaces_internal") { |
8 visibility = [ "//services/resource_coordinator/public/cpp:*" ] | 8 visibility = [ "//services/resource_coordinator/public/cpp:*" ] |
9 | 9 |
10 sources = [ | 10 sources = [ |
11 "coordination_unit.mojom", | 11 "coordination_unit.mojom", |
12 "coordination_unit_provider.mojom", | 12 "coordination_unit_provider.mojom", |
13 "events.mojom", | 13 "events.mojom", |
14 "memory_instrumentation/constants.mojom", | 14 "memory_instrumentation/constants.mojom", |
15 "memory_instrumentation/memory_instrumentation.mojom", | 15 "memory_instrumentation/memory_instrumentation.mojom", |
| 16 "service_callbacks.mojom", |
16 "service_constants.mojom", | 17 "service_constants.mojom", |
17 "tracing/tracing.mojom", | 18 "tracing/tracing.mojom", |
18 ] | 19 ] |
19 | 20 |
20 public_deps = [ | 21 public_deps = [ |
| 22 "//components/ukm/public/interfaces:interfaces", |
21 "//mojo/common:common_custom_types", | 23 "//mojo/common:common_custom_types", |
22 ] | 24 ] |
23 | 25 |
24 component_output_prefix = "resource_coordinator_public_interfaces_internal" | 26 component_output_prefix = "resource_coordinator_public_interfaces_internal" |
25 export_class_attribute = "SERVICES_RESOURCE_COORDINATOR_PUBLIC_CPP_EXPORT" | 27 export_class_attribute = "SERVICES_RESOURCE_COORDINATOR_PUBLIC_CPP_EXPORT" |
26 export_define = "SERVICES_RESOURCE_COORDINATOR_PUBLIC_CPP_IMPLEMENTATION=1" | 28 export_define = "SERVICES_RESOURCE_COORDINATOR_PUBLIC_CPP_IMPLEMENTATION=1" |
27 export_header = | 29 export_header = |
28 "services/resource_coordinator/public/cpp/resource_coordinator_export.h" | 30 "services/resource_coordinator/public/cpp/resource_coordinator_export.h" |
29 | 31 |
30 export_class_attribute_blink = | 32 export_class_attribute_blink = |
31 "SERVICES_RESOURCE_COORDINATOR_PUBLIC_CPP_EXPORT" | 33 "SERVICES_RESOURCE_COORDINATOR_PUBLIC_CPP_EXPORT" |
32 export_define_blink = | 34 export_define_blink = |
33 "SERVICES_RESOURCE_COORDINATOR_PUBLIC_CPP_IMPLEMENTATION=1" | 35 "SERVICES_RESOURCE_COORDINATOR_PUBLIC_CPP_IMPLEMENTATION=1" |
34 export_header_blink = | 36 export_header_blink = |
35 "services/resource_coordinator/public/cpp/resource_coordinator_export.h" | 37 "services/resource_coordinator/public/cpp/resource_coordinator_export.h" |
36 | 38 |
37 # TODO(crbug.com/714018): Convert the implementation to use OnceCallback. | 39 # TODO(crbug.com/714018): Convert the implementation to use OnceCallback. |
38 use_once_callback = false | 40 use_once_callback = false |
39 } | 41 } |
OLD | NEW |