| // 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 **fake** 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 `fake-display-stack-host` |
| // 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/testing/fake-display-stack-host/meta/fake-display-stack-host.shard.cml", |
| // ], |
| // children: [ |
| // { |
| // name: "fake-display-stack-host", |
| // url: "fuchsia-pkg://fuchsia.com/fake-display-stack-host#meta/fake-display-stack-host.cm", |
| // }, |
| // ], |
| // use: [ |
| // { |
| // service: "fuchsia.hardware.display.Service", |
| // from: "#fake-display-stack-host", |
| // }, |
| // ], |
| // |
| { |
| include: [ "syslog/client.shard.cml" ], |
| offer: [ |
| { |
| protocol: [ |
| "fuchsia.sysmem2.Allocator", |
| "fuchsia.tracing.provider.Registry", |
| ], |
| from: "parent", |
| to: [ "#fake-display-stack-host" ], |
| }, |
| ], |
| } |