blob: 89daee783914f2e58780b0bd2acf14462cac5c35 [file] [log] [blame]
// This is a CML shard, to be included by users of the fuchsia_component_test
// library
{
include: [ "//sdk/lib/diagnostics/syslog/client.shard.cml" ],
children: [
{
name: "fuchsia_component_test_framework_intermediary",
url: "fuchsia-pkg://fuchsia.com/fuchsia-component-test#meta/framework-intermediary.cm",
},
],
collections: [
{
name: "fuchsia_component_test_collection",
environment: "#realm_builder_env",
durability: "transient",
},
],
use: [
{
protocol: "fuchsia.sys2.Realm",
from: "framework",
},
],
offer: [
{
protocol: "fuchsia.logger.LogSink",
from: "parent",
to: [
"#fuchsia_component_test_collection",
"#fuchsia_component_test_framework_intermediary",
],
},
{
protocol: [
"fuchsia.diagnostics.ArchiveAccessor",
"fuchsia.sys2.EventSource",
],
from: "parent",
to: [ "#fuchsia_component_test_collection" ],
},
{
protocol: [
"fuchsia.sys.Environment",
"fuchsia.sys.Loader",
],
from: "parent",
to: [ "#fuchsia_component_test_framework_intermediary" ],
},
],
environments: [
{
name: "realm_builder_env",
extends: "realm",
runners: [
{
runner: "realm_builder",
from: "#fuchsia_component_test_framework_intermediary",
},
],
resolvers: [
{
resolver: "realm_builder_resolver",
from: "#fuchsia_component_test_framework_intermediary",
scheme: "realm-builder",
},
],
},
],
}