platform_video_codecs.shard.test-cml (1265B)
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 "//chromium/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.sysinfo.SysInfo", 20 "fuchsia.sysmem.Allocator", 21 "fuchsia.sysmem2.Allocator", 22 ], 23 from: "parent", 24 to: "#isolated_codec_factory", 25 }, 26 { 27 dictionary: "diagnostics", 28 from: "parent", 29 to: "#isolated_codec_factory", 30 }, 31 { 32 directory: "dev-mediacodec", 33 from: "parent", 34 to: "#isolated_codec_factory", 35 }, 36 { 37 directory: "dev-gpu", 38 from: "parent", 39 to: "#isolated_codec_factory", 40 }, 41 ], 42 use: [ 43 { 44 protocol: "fuchsia.mediacodec.CodecFactory", 45 from: "#isolated_codec_factory", 46 }, 47 ], 48 facets: { 49 "fuchsia.test": { 50 "deprecated-allowed-packages": [ "codec_factory" ], 51 }, 52 }, 53 }