blob: 3eedcc2ca3a37e52598af422300885609e975fac [file] [log] [blame]
// Copyright 2023 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This manifest shard defines the capability routing for the **real** display
// coordinator provider components. We use a CML shard to allow child components
// to come from different packages.
//
// CML files that include it must declare a `display-coordinator-connector`
// child component with the URL set to the appropriate package and manifest.
// TODO(https://fxbug.dev/42079610): Define the child component using subpackaged URLs.
//
// For example:
// include: [
// "//src/graphics/display/bin/coordinator-connector/meta/display_coordinator_connector.shard.cml",
// ],
// children: [
// {
// name: "display-coordinator-connector",
// url: "fuchsia-pkg://fuchsia.com/display-coordinator-connector#meta/display-coordinator-connector.cm",
// },
// ],
// use: [
// {
// protocol: ["fuchsia.hardware.display.Provider"],
// from: "#display-coordinator-connector",
// },
// ],
//
{
include: [ "syslog/client.shard.cml" ],
offer: [
{
protocol: [ "fuchsia.logger.LogSink" ],
from: "parent",
to: [ "#display-coordinator-connector" ],
},
{
protocol: [ "fuchsia.tracing.provider.Registry" ],
from: "parent",
to: [ "#display-coordinator-connector" ],
availability: "optional",
},
{
directory: "dev-display-coordinator",
from: "parent",
to: "#display-coordinator-connector",
},
],
}