| // 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. | |
| { | |
| include: [ | |
| "//sdk/lib/inspect/client.shard.cml", | |
| "//src/connectivity/network/lib/net_interfaces/client.shard.cml", | |
| "syslog/client.shard.cml", | |
| ], | |
| program: { | |
| runner: "elf", | |
| binary: "bin/exceptions", | |
| }, | |
| capabilities: [ | |
| { | |
| protocol: [ | |
| "fuchsia.exception.Handler", | |
| "fuchsia.exception.ProcessLimbo", | |
| "only_meant_for_outliving_certain_components", | |
| ], | |
| }, | |
| ], | |
| use: [ | |
| { | |
| protocol: [ | |
| "fuchsia.driver.crash.CrashIntrospect", | |
| "fuchsia.feedback.CrashReporter", | |
| "fuchsia.process.Launcher", | |
| "fuchsia.sys2.CrashIntrospect", | |
| ], | |
| }, | |
| { | |
| protocol: [ | |
| "fuchsia.power.broker.Topology", | |
| "fuchsia.power.system.ActivityGovernor", | |
| ], | |
| availability: "optional", | |
| }, | |
| { | |
| directory: "config-data", | |
| rights: [ "r*" ], | |
| path: "/config/data", | |
| }, | |
| { | |
| storage: "tmp", | |
| path: "/tmp", | |
| }, | |
| { | |
| config: "fuchsia.power.SuspendEnabled", | |
| key: "suspend_enabled", | |
| type: "bool", | |
| }, | |
| ], | |
| expose: [ | |
| { | |
| protocol: [ | |
| "fuchsia.exception.Handler", | |
| "fuchsia.exception.ProcessLimbo", | |
| "only_meant_for_outliving_certain_components", | |
| ], | |
| from: "self", | |
| }, | |
| ], | |
| } |