chromium/fuchsia_web/webengine/web_engine_integration_tests.shard.test-cml

// 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.
{
  children: [
    {
      name: "test_ui_stack",
      url: "fuchsia-pkg://fuchsia.com/flatland-scene-manager-test-ui-stack#meta/test-ui-stack.cm",
    },
  ],
  use: [
    {
      protocol: [
        "fuchsia.accessibility.semantics.SemanticsManager",
        "fuchsia.ui.composition.Allocator",
        "fuchsia.ui.composition.Flatland",
        "fuchsia.ui.input3.Keyboard",
      ],
      from: "#test_ui_stack",
    },
    { protocol: "fuchsia.memorypressure.Provider" },
  ],
  offer: [
    {
      protocol: [
        "fuchsia.buildinfo.Provider",
        "fuchsia.camera3.DeviceWatcher",
        "fuchsia.device.NameProvider",
        "fuchsia.fonts.Provider",
        "fuchsia.hwinfo.Product",
        "fuchsia.intl.PropertyProvider",
        "fuchsia.kernel.VmexResource",
        "fuchsia.logger.LogSink",
        "fuchsia.media.ProfileProvider",
        "fuchsia.memorypressure.Provider",
        "fuchsia.process.Launcher",
        "fuchsia.settings.Display",
        "fuchsia.sysmem.Allocator",
        "fuchsia.sysmem2.Allocator",
        "fuchsia.tracing.perfetto.ProducerConnector",
        "fuchsia.tracing.provider.Registry",
      ],
      from: "parent",
      to: "#realm_builder",
    },
    {
      directory: "root-ssl-certificates",
      from: "parent",
      to: "#realm_builder",
    },
    {
      directory: "config-data",
      from: "parent",
      as: "config-data-for-web-instance",
      to: "#realm_builder",
      subdir: "web_engine",
    },
    {
      directory: "tzdata-icu",
      from: "parent",
      rights: [ "r*" ],
      to: "#realm_builder",
    },

    {
      protocol: [
        "fuchsia.logger.LogSink",
        "fuchsia.scheduler.ProfileProvider",
        "fuchsia.sysmem.Allocator",
        "fuchsia.sysmem2.Allocator",
        "fuchsia.tracing.provider.Registry",
        "fuchsia.vulkan.loader.Loader",
      ],
      from: "parent",
      to: "#test_ui_stack",
    },
  ],
  facets: {
    "fuchsia.test": {
      "deprecated-allowed-packages": [
        "cursor",
        "flatland-scene-manager-test-ui-stack",
        "web_engine",
      ],
    },
  },
}