blob: 1f74689ebd14c41222e250ce5e8ab34fecf9d00c [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/metrics_logger",
},
capabilities: [
{ protocol: "fuchsia.metricslogger.test.MetricsLogger" },
],
use: [
{
directory: "config-data",
rights: [ "r*" ],
path: "/config/data",
},
{
directory: "dev-temperature",
rights: [ "r*" ],
path: "/dev/class/temperature",
},
{
directory: "dev-thermal",
rights: [ "r*" ],
path: "/dev/class/thermal",
},
{
directory: "dev-power-sensor",
rights: [ "r*" ],
path: "/dev/class/power-sensor",
},
{
protocol: [
"fuchsia.kernel.Stats",
"fuchsia.tracing.provider.Registry",
],
},
],
expose: [
{
protocol: "fuchsia.metricslogger.test.MetricsLogger",
from: "self",
},
],
}