| // Copyright 2021 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: [ |
| "//sdk/lib/diagnostics/inspect/client.shard.cml", |
| "//sdk/lib/diagnostics/syslog/client.shard.cml", |
| ], |
| |
| // Information about the program to run. |
| program: { |
| runner: "elf", |
| binary: "bin/component_manager", |
| args: [ |
| "--config", |
| "/pkg/data/component_manager_config", |
| "fuchsia-boot:///#meta/boot.cm", |
| ], |
| }, |
| capabilities: [ |
| { protocol: "fidl.test.components.Trigger" }, |
| ], |
| use: [ |
| { |
| directory: "boot", |
| rights: [ "r*" ], // TODO(fxbug.dev/37534): Add the execute bit when supported. |
| path: "/boot", |
| }, |
| { protocol: "fuchsia.process.Launcher" }, |
| ], |
| expose: [ |
| { |
| protocol: "fidl.test.components.Trigger", |
| from: "self", |
| }, |
| ], |
| } |