blob: 3ea42100b65873eb21810927993ac9bd68f92a72 [file] [log] [blame]
// 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.
{
include: [ "//src/testing/system-validation/ui/tests/meta/system_validation_base.cml" ],
children: [
{
name: "sample-app",
url: "#meta/spinning-square-rs.cm",
},
],
use: [
{
protocol: [ "fuchsia.ui.app.ViewProvider" ],
from: "#sample-app",
},
],
offer: [
{
protocol: [
"fuchsia.sysmem.Allocator",
"fuchsia.sysmem2.Allocator",
"fuchsia.tracing.provider.Registry",
"fuchsia.ui.composition.Allocator",
"fuchsia.ui.composition.Flatland",
"fuchsia.ui.input3.Keyboard",
"fuchsia.vulkan.loader.Loader",
],
from: "parent",
to: [ "#sample-app" ],
},
// extras from src/lib/ui/carnelian/meta/example.shard.cml
{
storage: "cache",
from: "parent",
to: [ "#sample-app" ],
},
{
// TODO(https://fxbug.dev/324273348): Remove this capability once the clients have
// been migrated to services. The service capability has been added below.
directory: [
"dev-input",
"dev-input-report",
],
from: "parent",
to: [ "#sample-app" ],
rights: [ "r*" ],
},
{
service: [ "fuchsia.hardware.display.Service" ],
from: "parent",
to: [ "#sample-app" ],
},
{
dictionary: "diagnostics",
from: "parent",
to: [ "#sample-app" ],
},
],
}