blob: a59317c7710332d26345adf83723a1e145823f58 [file] [log] [blame]
// 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.
{
include: [
"//sdk/lib/sys/component/realm_builder.shard.cml",
"inspect/client.shard.cml",
"syslog/client.shard.cml",
],
program: {
runner: "elf",
binary: "bin/archivist_realm_factory",
},
capabilities: [
{ protocol: "fuchsia.archivist.test.RealmFactory" },
],
offer: [
{
protocol: [ "fuchsia.component.Binder" ],
from: "parent",
to: "#realm_builder",
},
// Offers required for realm_builder to run archvist.
//
// LINT.IfChange
{
protocol: [ "fuchsia.boot.ReadOnlyLog" ],
from: "parent",
to: "#realm_builder",
},
{
protocol: [ "fuchsia.tracing.provider.Registry" ],
from: "parent",
to: "#realm_builder",
availability: "optional",
},
// LINT.ThenChange(//src/diagnostics/archivist/testing/realm-factory/src/realm_factory.rs)
],
expose: [
{
protocol: "fuchsia.archivist.test.RealmFactory",
from: "self",
},
],
}