| // 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. |
| { |
| children: [ |
| { |
| name: "codec_factory", |
| url: "fuchsia-pkg://fuchsia.com/codec_factory#meta/codec_factory.cm", |
| environment: "#core-env", |
| }, |
| ], |
| offer: [ |
| { |
| directory: "dev-class", |
| from: "parent", |
| as: "dev-mediacodec", |
| to: "#codec_factory", |
| subdir: "media-codec", |
| }, |
| { |
| directory: "dev-class", |
| from: "parent", |
| as: "dev-gpu", |
| to: "#codec_factory", |
| subdir: "gpu", |
| }, |
| { |
| protocol: "fuchsia.metrics.MetricEventLoggerFactory", |
| from: "#cobalt", |
| to: "#codec_factory", |
| }, |
| { |
| protocol: [ |
| "fuchsia.sysmem.Allocator", |
| "fuchsia.sysmem2.Allocator", |
| ], |
| from: "parent", |
| to: "#codec_factory", |
| }, |
| { |
| protocol: [ |
| "fuchsia.logger.LogSink", |
| "fuchsia.sysinfo.SysInfo", |
| ], |
| from: "parent", |
| to: "#codec_factory", |
| }, |
| ], |
| } |