blob: 264559132e406cfe9641b54d370c7e9e5741773a [file] [log] [blame]
// Integration test component that runs a Trigger service. When triggered, the
// component echoes a string using the Echo service and prints it.
{
include: [ "//sdk/lib/diagnostics/syslog/client.shard.cml" ],
program: {
runner: "elf",
binary: "bin/namespace_capabilities_trigger",
args: [ "Triggered" ],
},
capabilities: [
{ protocol: "fidl.test.components.Trigger" },
],
use: [
{
protocol: [ "fidl.examples.routing.echo.Echo" ],
},
{
directory: "test-pkg",
rights: [ "r*" ],
path: "/test-pkg",
},
],
expose: [
{
protocol: "fidl.test.components.Trigger",
from: "self",
},
],
}