| // Copyright 2013 The Flutter 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: [ |
| "gtest_runner.shard.cml", |
| "sys/component/realm_builder_absolute.shard.cml", |
| |
| // This test needs both the vulkan facet and the hermetic-tier-2 facet, |
| // so we are forced to make it a system test. |
| "sys/testing/system-test.shard.cml", |
| ], |
| program: { |
| binary: "bin/app", |
| }, |
| use: [ |
| { |
| protocol: [ |
| "fuchsia.ui.test.input.TouchInputListener", |
| ] |
| } |
| ], |
| offer: [ |
| { |
| // Offer capabilities needed by components in this test realm. |
| // Keep it minimal, describe only what's actually needed. |
| protocol: [ |
| "fuchsia.kernel.RootJobForInspect", |
| "fuchsia.kernel.Stats", |
| "fuchsia.logger.LogSink", |
| "fuchsia.scheduler.ProfileProvider", |
| "fuchsia.sysmem.Allocator", |
| "fuchsia.tracing.provider.Registry", |
| "fuchsia.ui.input.ImeService", |
| "fuchsia.vulkan.loader.Loader", |
| "fuchsia.ui.scenic.Scenic", |
| "fuchsia.ui.test.input.TouchInputListener", |
| "fuchsia.intl.PropertyProvider", |
| "fuchsia.posix.socket.Provider", |
| "fuchsia.ui.pointerinjector.Registry", |
| ], |
| from: "parent", |
| to: "#realm_builder", |
| }, |
| { |
| directory: "pkg", |
| subdir: "config", |
| as: "config-data", |
| from: "framework", |
| to: "#realm_builder", |
| }, |
| ], |
| // TODO(https://fxbug.dev/114584): Figure out how to bring these in as deps (if possible oot). |
| facets: { |
| "fuchsia.test": { |
| "deprecated-allowed-packages": [ |
| "embedding-flutter-view", |
| "gfx-scene-manager-test-ui-stack", |
| "flatland-scene-manager-test-ui-stack", |
| "oot_flutter_aot_runner", |
| "oot_flutter_jit_runner", |
| "oot_flutter_jit_product_runner", |
| "oot_flutter_aot_product_runner", |
| "test_manager", |
| "touch-input-view", |
| ], |
| }, |
| }, |
| } |