blob: ac77686421386d8efba02b80e56e15220449ae72 [file] [edit]
// Copyright 2023 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.
// This shard declares the minimum capability routing required to implement a
// test realm factory. It exposes fuchsia.testing.harness.RealmFactory and
// routes some basic services to the child #realm_builder component.
// All test realm factory services should include this shard.
{
include: [
"inspect/client.shard.cml",
"sys/component/realm_builder.shard.cml",
"syslog/client.shard.cml",
],
capabilities: [
{
protocol: [ "fuchsia.testing.harness.RealmProxy" ],
},
],
use: [
{
protocol: "fuchsia.component.sandbox.CapabilityStore",
from: "framework",
},
{
protocol: "fuchsia.component.runtime.Capabilities",
from: "framework",
},
],
expose: [
{
protocol: [ "fuchsia.testing.harness.RealmProxy" ],
from: "self",
},
],
}