| // Copyright 2022 The Chromium Authors |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| // Used in tests which are hard-coded for the Scenic/GFX API-set. |
| // Use test_ui_stack.shard.test-cml when testing for Flatland, or when the |
| // choice of API-set is not important. |
| { |
| include: [ |
| "//build/config/fuchsia/test/sysmem.shard.test-cml", |
| ], |
| children: [ |
| { |
| name: "test_ui_stack", |
| url: "fuchsia-pkg://fuchsia.com/gfx-scene-manager-test-ui-stack#meta/test-ui-stack.cm", |
| }, |
| ], |
| offer: [ |
| { |
| protocol: [ |
| "fuchsia.logger.LogSink", |
| "fuchsia.scheduler.ProfileProvider", |
| "fuchsia.sysmem.Allocator", |
| "fuchsia.tracing.provider.Registry", |
| "fuchsia.vulkan.loader.Loader", |
| ], |
| from: "parent", |
| to: "#test_ui_stack", |
| }, |
| ], |
| use: [ |
| { |
| protocol: [ |
| "fuchsia.accessibility.semantics.SemanticsManager", |
| "fuchsia.element.GraphicalPresenter", |
| "fuchsia.ui.composition.Allocator", |
| "fuchsia.ui.composition.Flatland", |
| "fuchsia.ui.input3.Keyboard", |
| "fuchsia.ui.scenic.Scenic", |
| ], |
| from: "#test_ui_stack", |
| }, |
| ], |
| facets: { |
| "fuchsia.test": { |
| "deprecated-allowed-packages": [ "gfx-scene-manager-test-ui-stack" ], |
| }, |
| }, |
| } |