blob: b706e3e63e473b0b1be169385c3eb3d6c1fb498e [file] [log] [blame]
// Copyright 2023 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.
// A font server manifest for hermetic testing.
{
include: [
"inspect/client.shard.cml",
"syslog/client.shard.cml",
],
program: {
runner: "elf",
binary: "bin/font_provider",
args: [
"--font-manifest",
"/pkg/data/assets/downstream-test-fonts-collection_all.hermetic_assets.font_manifest.json",
],
},
capabilities: [
{
protocol: [
"fuchsia.fonts.experimental.Provider",
"fuchsia.fonts.Provider",
],
},
{
config: "fuchsia.fonts.VerboseLogging",
type: "bool",
value: true,
},
{
config: "fuchsia.fonts.FontManifest",
type: "string",
max_size: 1024,
value: "",
},
],
use: [
{ protocol: "fuchsia.tracing.provider.Registry" },
{
from: "self",
config: "fuchsia.fonts.VerboseLogging",
key: "verbose_logging",
type: "bool",
},
{
from: "self",
config: "fuchsia.fonts.FontManifest",
key: "font_manifest",
type: "string",
max_size: 1024,
},
],
expose: [
{
protocol: [
"fuchsia.fonts.experimental.Provider",
"fuchsia.fonts.Provider",
],
from: "self",
},
],
}