blob: ddb42f482317d47d78f7e923f4d247503170624f [file] [log] [blame]
// Copyright 2021 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: [
// Enable system logging
"syslog/client.shard.cml",
],
program: {
runner: "elf",
binary: "bin/hwinfo",
},
capabilities: [
{
protocol: [
"fuchsia.hwinfo.Board",
"fuchsia.hwinfo.Device",
"fuchsia.hwinfo.Product",
],
},
],
use: [
{
protocol: "fuchsia.factory.MiscFactoryStoreProvider",
availability: "optional",
},
{
directory: "config-data",
rights: [ "r*" ],
path: "/config/data",
},
],
expose: [
{
protocol: [
"fuchsia.hwinfo.Board",
"fuchsia.hwinfo.Device",
"fuchsia.hwinfo.Product",
],
from: "self",
},
],
}