blob: 9fe3390242b7678e0eaa88df6271cd6b58a85743 [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: [
"inspect/client.shard.cml",
"syslog/client.shard.cml",
],
program: {
runner: "elf",
binary: "bin/driver_test_realm",
},
capabilities: [
{
protocol: [
"fuchsia.boot.Arguments",
"fuchsia.boot.Items",
"fuchsia.driver.index.DriverIndex",
"fuchsia.driver.test.Realm",
"fuchsia.kernel.RootJob",
"fuchsia.pkg.PackageResolver",
"fuchsia.power.manager.DriverManagerRegistration",
],
},
{
directory: "pkgfs",
rights: [ "rx*" ],
path: "/pkgfs",
},
{
directory: "pkgfs-packages",
rights: [ "r*" ],
path: "/pkgfs/packages",
},
{
directory: "system",
rights: [ "rx*" ],
path: "/system",
},
{
directory: "boot",
rights: [ "rx*" ],
path: "/boot",
},
{
resolver: "boot-resolver",
path: "/svc/fuchsia.component.resolution.Resolver",
},
],
expose: [
{
protocol: [
"fuchsia.boot.Arguments",
"fuchsia.boot.Items",
"fuchsia.driver.index.DriverIndex",
"fuchsia.driver.test.Realm",
"fuchsia.kernel.RootJob",
"fuchsia.pkg.PackageResolver",
"fuchsia.power.manager.DriverManagerRegistration",
],
from: "self",
},
{
directory: "pkgfs",
from: "self",
},
{
directory: "pkgfs-packages",
from: "self",
},
{
directory: "system",
from: "self",
},
{
directory: "boot",
from: "self",
},
{
resolver: "boot-resolver",
from: "self",
},
],
}