| // 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/chromium/web_engine/meta/shards/test/launch_context_provider.shard.cml", | |
| "//src/sys/test_runners/gtest/default.shard.cml", | |
| "sys/component/realm_builder.shard.cml", | |
| "syslog/client.shard.cml", | |
| ], | |
| program: { | |
| binary: "bin/text-input-test", | |
| }, | |
| offer: [ | |
| { | |
| // Offer capabilities needed by components in this test realm. | |
| // Keep it minimal, describe only what's actually needed. | |
| // TODO(https://fxbug.dev/42161902): Remove this list. | |
| protocol: [ | |
| "fuchsia.feedback.ComponentDataRegister", | |
| "fuchsia.feedback.CrashReportingProductRegister", | |
| "fuchsia.kernel.RootJobForInspect", | |
| "fuchsia.kernel.Stats", | |
| "fuchsia.kernel.VmexResource", | |
| "fuchsia.process.Launcher", | |
| "fuchsia.scheduler.RoleManager", | |
| "fuchsia.sysmem.Allocator", | |
| "fuchsia.sysmem2.Allocator", | |
| // Explicitly offer as there is no `vulkan/offer.shard.cml`. | |
| "fuchsia.tracing.provider.Registry", | |
| "fuchsia.vulkan.loader.Loader", | |
| ], | |
| from: "parent", | |
| to: "#realm_builder", | |
| }, | |
| ], | |
| facets: { | |
| "fuchsia.test": { | |
| "deprecated-allowed-packages": [ "web_engine" ], | |
| }, | |
| }, | |
| } |