| // 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: [ |
| "sys/component/realm_builder.shard.cml", |
| "syslog/client.shard.cml", |
| ], |
| program: { |
| runner: "elf", |
| binary: "bin/cleanup", |
| }, |
| collections: [ |
| { |
| name: "coll", |
| durability: "transient", |
| }, |
| ], |
| use: [ |
| { |
| protocol: [ |
| "fuchsia.diagnostics.ArchiveAccessor", |
| "fuchsia.sys2.EventSource", |
| ], |
| from: "parent", |
| }, |
| { |
| event: [ |
| "destroyed", |
| "started", |
| ], |
| from: "framework", |
| }, |
| ], |
| offer: [ |
| { |
| protocol: [ "fuchsia.logger.LogSink" ], |
| from: "parent", |
| to: "#coll", |
| }, |
| ], |
| } |