blob: 6f43f364faa2f4505a946ee891c34427fd2bb627 [file] [log] [blame]
// Copyright 2022 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",
],
program: {
runner: "elf",
binary: "bin/debug_data_rust_bin",
},
children: [
{
name: "processor",
url: "#meta/debug_data_processor.cm",
},
],
capabilities: [
{ protocol: "fuchsia.debugdata.Publisher" },
{ protocol: "fuchsia.test.internal.DebugDataController" },
],
use: [
{
protocol: "fuchsia.test.debug.DebugDataProcessor",
from: "#processor",
},
{
event_stream: [
"capability_requested_v2",
"destroyed_v2",
"started_v2",
],
from: "parent",
filter: { name: "fuchsia.debugdata.Publisher" },
},
{
storage: "tmp",
rights: [ "rw*" ],
path: "/data",
},
{
storage: "cache",
rights: [ "rw*" ],
path: "/cache",
},
],
offer: [
{
protocol: "fuchsia.logger.LogSink",
from: "parent",
to: "#processor",
},
],
expose: [
{
protocol: "fuchsia.debugdata.Publisher",
from: "self",
},
{
protocol: "fuchsia.test.internal.DebugDataController",
from: "self",
},
],
}