| // 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. |
| { |
| include: [ |
| "//src/diagnostics/archivist/meta/common.shard.cml", |
| "//src/diagnostics/archivist/meta/config_capabilities.shard.cml", |
| "syslog/client.shard.cml", |
| ], |
| program: { |
| binary: "bin/archivist", |
| }, |
| capabilities: [ |
| { |
| protocol: [ |
| "fuchsia.diagnostics.FeedbackArchiveAccessor", |
| "fuchsia.diagnostics.LoWPANArchiveAccessor", |
| ], |
| }, |
| ], |
| use: [ |
| { |
| protocol: [ "fuchsia.boot.ReadOnlyLog" ], |
| }, |
| { |
| config: "fuchsia.diagnostics.EnableKlog", |
| key: "enable_klog", |
| availability: "optional", |
| type: "bool", |
| }, |
| { |
| config: "fuchsia.diagnostics.LogToDebuglog", |
| key: "log_to_debuglog", |
| availability: "optional", |
| type: "bool", |
| }, |
| { |
| config: "fuchsia.diagnostics.PipelinesPath", |
| key: "pipelines_path", |
| availability: "optional", |
| type: "string", |
| max_size: 256, |
| }, |
| ], |
| expose: [ |
| { |
| protocol: [ |
| "fuchsia.diagnostics.FeedbackArchiveAccessor", |
| "fuchsia.diagnostics.LoWPANArchiveAccessor", |
| ], |
| from: "self", |
| }, |
| ], |
| } |