blob: 9b808debd57069396ce231f695a29cd3ecccf709 [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: [
"syslog/client.shard.cml",
"syslog/elf_stdio.shard.cml",
],
program: {
runner: "elf",
binary: "bin/sysmem_connector",
},
capabilities: [
{
protocol: [ "fuchsia.sysmem.Allocator" ],
},
],
use: [
{
protocol: [
"fuchsia.cobalt.LoggerFactory",
"fuchsia.tracing.provider.Registry",
],
},
{
directory: "dev-sysmem",
rights: [ "r*" ],
path: "/dev/class/sysmem",
},
],
expose: [
{
protocol: "fuchsia.sysmem.Allocator",
from: "self",
},
],
}