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 "fuchsia.sysmem2.Allocator", 23 ], 24 from: "parent", 25 to: "#isolated_codec_factory", 26 }, 27 { 28 directory: "dev-mediacodec", 29 from: "parent", 30 to: "#isolated_codec_factory", 31 }, 32 { 33 directory: "dev-gpu", 34 from: "parent", 35 to: "#isolated_codec_factory", 36 }, 37 ], 38 use: [ 39 { 40 protocol: "fuchsia.mediacodec.CodecFactory", 41 from: "#isolated_codec_factory", 42 }, 43 ], 44 facets: { 45 "fuchsia.test": { 46 "deprecated-allowed-packages": [ "codec_factory" ], 47 }, 48 }, 49} 50