• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright 2022 The Chromium Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4{
5  include: [
6    "//build/config/fuchsia/test/sysmem.shard.test-cml",
7  ],
8  children: [
9    {
10      // Run an isolated instance of codec_factory so that tests can run on
11      // system images that don't run it.
12      name: "isolated_codec_factory",
13      url: "fuchsia-pkg://fuchsia.com/codec_factory#meta/codec_factory.cm",
14    },
15  ],
16  offer: [
17    {
18      protocol: [
19        "fuchsia.logger.LogSink",
20        "fuchsia.sysinfo.SysInfo",
21        "fuchsia.sysmem.Allocator",
22      ],
23      from: "parent",
24      to: "#isolated_codec_factory",
25    },
26    {
27        directory: "dev-mediacodec",
28        from: "parent",
29        to: "#isolated_codec_factory",
30    },
31    {
32        directory: "dev-gpu",
33        from: "parent",
34        to: "#isolated_codec_factory",
35    },
36  ],
37  use: [
38    {
39      protocol: "fuchsia.mediacodec.CodecFactory",
40      from: "#isolated_codec_factory",
41    },
42  ],
43  facets: {
44    "fuchsia.test": {
45        "deprecated-allowed-packages": [ "codec_factory" ],
46    },
47  },
48}
49