naiveproxy/services/resource_coordinator/public/interfaces/BUILD.gn
2018-01-28 13:32:06 -05:00

44 lines
1.5 KiB
Plaintext

# Copyright 2017 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//mojo/public/tools/bindings/mojom.gni")
mojom("interfaces_internal") {
visibility = [ "//services/resource_coordinator/public/cpp:*" ]
sources = [
"coordination_unit.mojom",
"coordination_unit_introspector.mojom",
"coordination_unit_provider.mojom",
"memory_instrumentation/constants.mojom",
"memory_instrumentation/memory_instrumentation.mojom",
"page_signal.mojom",
"service_constants.mojom",
"signals.mojom",
"tracing/tracing.mojom",
"tracing/tracing_constants.mojom",
]
public_deps = [
"//mojo/common:common_custom_types",
"//services/metrics/public/interfaces",
]
component_output_prefix = "resource_coordinator_public_interfaces_internal"
export_class_attribute = "SERVICES_RESOURCE_COORDINATOR_PUBLIC_CPP_EXPORT"
export_define = "SERVICES_RESOURCE_COORDINATOR_PUBLIC_CPP_IMPLEMENTATION=1"
export_header =
"services/resource_coordinator/public/cpp/resource_coordinator_export.h"
export_class_attribute_blink =
"SERVICES_RESOURCE_COORDINATOR_PUBLIC_CPP_EXPORT"
export_define_blink =
"SERVICES_RESOURCE_COORDINATOR_PUBLIC_CPP_IMPLEMENTATION=1"
export_header_blink =
"services/resource_coordinator/public/cpp/resource_coordinator_export.h"
# TODO(crbug.com/714018): Convert the implementation to use OnceCallback.
use_once_callback = false
}