| // Copyright 2022 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. |
| { |
| include: [ |
| "inspect/client.shard.cml", |
| "syslog/client.shard.cml", |
| ], |
| children: [ |
| { |
| name: "fonts", |
| url: "#meta/fonts.cm", |
| }, |
| ], |
| capabilities: [ |
| { |
| config: "fuchsia.fonts.VerboseLogging", |
| type: "bool", |
| value: false, |
| }, |
| { |
| config: "fuchsia.fonts.FontManifest", |
| type: "string", |
| max_size: 1024, |
| value: "", |
| }, |
| ], |
| offer: [ |
| { |
| protocol: "fuchsia.pkg.FontResolver", |
| from: "parent", |
| to: "#fonts", |
| availability: "optional", |
| }, |
| { |
| directory: "config-data", |
| from: "parent", |
| to: "#fonts", |
| |
| // TODO(https://fxbug.dev/42080737): Remove once config-data is not needed. |
| availability: "optional", |
| }, |
| { |
| from: "self", |
| to: "#fonts", |
| config: [ |
| "fuchsia.fonts.FontManifest", |
| "fuchsia.fonts.VerboseLogging", |
| ], |
| }, |
| ], |
| expose: [ |
| { |
| protocol: [ |
| "fuchsia.fonts.experimental.Provider", |
| "fuchsia.fonts.Provider", |
| ], |
| from: "#fonts", |
| }, |
| ], |
| } |