blob: cb693cc4dd18368a8529145cbafdea1dd17cd886 [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",
"trace/use.shard.cml",
],
program: {
runner: "elf",
binary: "bin/cobalt_system_metrics",
},
use: [
{
protocol: [
"fuchsia.kernel.Stats",
"fuchsia.metrics.MetricEventLoggerFactory",
"fuchsia.sysinfo.SysInfo",
"fuchsia.ui.activity.Provider",
],
},
{
storage: "data",
path: "/data",
},
{
directory: "config-data",
rights: [ "r*" ],
path: "/config/data",
},
{
// TODO(https://fxbug.dev/324273348): Remove this capability once the clients have
// been migrated to services. The service capability has been added below.
directory: "dev-thermal",
rights: [ "r*" ],
path: "/dev/class/thermal",
},
{
// This service replaces the directory capability above.
service: "fuchsia.hardware.thermal.Service",
},
],
}