blob: dbc6d011ad0d022f3a432b03846013c63992d7c2 [file]
// 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: [ "trace/client.shard.cml" ],
collections: [
{
name: "vulkan-tests",
environment: "#legacy-test-env",
durability: "transient",
},
],
offer: [
{
// These hermetic protocols are offered to be used by tests.
protocol: [
"fuchsia.boot.WriteOnlyLog",
"fuchsia.logger.LogSink",
"fuchsia.process.Launcher",
],
from: "parent",
to: [ "#vulkan-tests" ],
},
// These system capabilities are offered for use by the vulkan tests.
{
protocol: [
"fuchsia.media.ProfileProvider",
"fuchsia.sysmem.Allocator",
"fuchsia.vulkan.loader.Loader",
],
from: "parent",
to: "#vulkan-tests",
},
{
event_stream: [
"capability_requested",
"directory_ready",
],
from: "parent",
to: "#vulkan-tests",
scope: "#vulkan-tests",
},
{
storage: "data",
from: "self",
to: [ "#vulkan-tests" ],
},
{
storage: "tmp",
from: "self",
to: [ "#vulkan-tests" ],
},
{
storage: "cache",
from: "self",
to: [ "#vulkan-tests" ],
},
],
}