| // Copyright 2024 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. |
| { |
| include: [ |
| "inspect/client.shard.cml", |
| "syslog/client.shard.cml", |
| "trace/client.shard.cml", |
| ], |
| program: { |
| runner: "elf", |
| binary: "bin/topology_test_daemon", |
| }, |
| collections: [ |
| { |
| name: "elements", |
| durability: "transient", |
| }, |
| ], |
| capabilities: [ |
| { |
| protocol: [ "fuchsia.power.topology.test.TopologyControl" ], |
| }, |
| ], |
| use: [ |
| { |
| protocol: [ "fuchsia.power.broker.Topology" ], |
| availability: "optional", |
| }, |
| { |
| protocol: "fuchsia.component.Realm", |
| from: "framework", |
| }, |
| ], |
| offer: [ |
| { |
| protocol: [ "fuchsia.tracing.provider.Registry" ], |
| from: "parent", |
| to: "#elements", |
| }, |
| ], |
| expose: [ |
| { |
| protocol: [ "fuchsia.power.topology.test.TopologyControl" ], |
| from: "self", |
| }, |
| ], |
| } |