blob: 4cdb0e39ca722bb269550194faea46232ae77a8d [file] [log] [blame]
// Integration test realm that hosts two trigger components.
{
include: [ "//sdk/lib/diagnostics/syslog/client.shard.cml" ],
program: {
runner: "elf",
binary: "bin/destruction_trigger",
},
// Two children, started together with the realm.
children: [
{
name: "trigger_a",
url: "fuchsia-pkg://fuchsia.com/destruction_integration_test#meta/trigger.cm",
startup: "eager",
},
{
name: "trigger_b",
url: "fuchsia-pkg://fuchsia.com/destruction_integration_test#meta/trigger.cm",
startup: "eager",
},
],
capabilities: [
{ protocol: "fidl.test.components.Trigger" },
],
offer: [
{
protocol: "fuchsia.logger.LogSink",
from: "parent",
to: [
"#trigger_a",
"#trigger_b",
],
},
],
// Expose my Trigger service so the integration test can invoke it.
expose: [
{
protocol: "fidl.test.components.Trigger",
from: "self",
},
],
}