blob: 13b5a1b7947fca98932c93efba4aa4dfd5d1b92d [file] [log] [blame]
// 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.
{
include: [
"//build/config/fuchsia/test/sysmem.shard.test-cml",
],
children: [
{
// Run an isolated instance of codec_factory so that tests can run on
// system images that don't run it.
name: "isolated_codec_factory",
url: "fuchsia-pkg://fuchsia.com/codec_factory#meta/codec_factory.cm",
},
],
offer: [
{
protocol: [
"fuchsia.logger.LogSink",
"fuchsia.sysinfo.SysInfo",
"fuchsia.sysmem.Allocator",
],
from: "parent",
to: "#isolated_codec_factory",
},
{
directory: "dev-mediacodec",
from: "parent",
to: "#isolated_codec_factory",
},
{
directory: "dev-gpu",
from: "parent",
to: "#isolated_codec_factory",
},
],
use: [
{
protocol: "fuchsia.mediacodec.CodecFactory",
from: "#isolated_codec_factory",
},
],
facets: {
"fuchsia.test": {
"deprecated-allowed-packages": [ "codec_factory" ],
},
},
}