| // Copyright 2021 The Fuchsia Authors. All rights reserved. | |
| // Use of this source code is governed by a BSD-style license that can be | |
| // found in the LICENSE file. | |
| // TODO(https://fxbug.dev/42068515): remove this file once transition to use `include_codecfactory_testonly.shard.cml` is completed. | |
| { | |
| children: [ | |
| { | |
| name: "codec-factory", | |
| url: "fuchsia-pkg://fuchsia.com/codec_factory#meta/codec_factory.cm", | |
| }, | |
| ], | |
| offer: [ | |
| { | |
| protocol: [ | |
| "fuchsia.sysinfo.SysInfo", | |
| "fuchsia.sysmem.Allocator", | |
| "fuchsia.sysmem2.Allocator", | |
| "fuchsia.tracing.provider.Registry", | |
| ], | |
| from: "parent", | |
| to: [ "#codec-factory" ], | |
| }, | |
| { | |
| dictionary: "diagnostics", | |
| from: "parent", | |
| to: "#codec-factory", | |
| }, | |
| // TODO(b/345827642): Remove once dictionaries | |
| // are routed through the SDK. | |
| { | |
| protocol: "fuchsia.logger.LogSink", | |
| from: "parent/diagnostics", | |
| to: "#codec-factory", | |
| }, | |
| { | |
| // TODO(https://fxbug.dev/324273348): Remove this capability once the clients have | |
| // been migrated to services. The service capability has been added below. | |
| directory: "dev-mediacodec", | |
| from: "parent", | |
| to: "#codec-factory", | |
| rights: [ "r*" ], | |
| }, | |
| { | |
| // This service replaces the directory capability above. | |
| service: "fuchsia.hardware.mediacodec.Service", | |
| from: "parent", | |
| to: "#codec-factory", | |
| }, | |
| { | |
| // TODO(https://fxbug.dev/324273348): Remove this capability once the clients have | |
| // been migrated to services. The service capability has been added below. | |
| directory: "dev-gpu", | |
| from: "parent", | |
| to: "#codec-factory", | |
| rights: [ "r*" ], | |
| }, | |
| { | |
| // This service replaces the directory capability above. | |
| service: "fuchsia.gpu.magma.Service", | |
| from: "parent", | |
| to: "#codec-factory", | |
| }, | |
| ], | |
| facets: { | |
| "fuchsia.test": { | |
| "deprecated-allowed-packages": [ "codec_factory" ], | |
| }, | |
| }, | |
| } |