blob: e36e077909b06038b8f998a1ff323e0495150c52 [file] [log] [blame] [edit]
// Copyright 2022 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.
{
collections: [
{
name: "devices-tests",
environment: "#legacy-test-env",
durability: "transient",
},
],
offer: [
{
// These hermetic capabilities are offered to be used by tests.
protocol: [
// Tests can write to debug logs
"fuchsia.boot.WriteOnlyLog",
"fuchsia.logger.LogSink",
"fuchsia.process.Launcher",
// Tests can produce trace.
"fuchsia.tracing.provider.Registry",
],
from: "parent",
to: [ "#devices-tests" ],
},
{
event_stream: [
"capability_requested_v2",
"directory_ready_v2",
],
from: "parent",
to: "#devices-tests",
scope: "#devices-tests",
},
{
storage: "data",
from: "self",
to: [ "#devices-tests" ],
},
{
storage: "tmp",
from: "self",
to: [ "#devices-tests" ],
},
{
storage: "cache",
from: "self",
to: [ "#devices-tests" ],
},
{
storage: "custom_artifacts",
from: "self",
to: "#devices-tests",
},
// These system capabilities are offered for use by the devices tests.
{
directory: "dev",
from: "parent",
to: "#devices-tests",
},
{
protocol: "fuchsia.vulkan.loader.Loader",
from: "parent",
to: "#devices-tests",
},
],
}