| // Copyright 2020 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/diagnostics/syslog/client.shard.cml" ], |
| program: { |
| runner: "elf", |
| binary: "bin/dir_reflector", |
| }, |
| capabilities: [ |
| { protocol: "test.pkg.reflector.Reflector" }, |
| { |
| directory: "pkgfs", |
| rights: [ "rw*" ], |
| path: "/reflected/pkgfs", |
| }, |
| { |
| directory: "blob", |
| rights: [ "rw*" ], |
| path: "/reflected/blob", |
| }, |
| { |
| protocol: "fuchsia.paver.Paver", |
| path: "/reflected/fuchsia.paver.Paver", |
| }, |
| { |
| protocol: "fuchsia.cobalt.LoggerFactory", |
| path: "/reflected/fuchsia.cobalt.LoggerFactory", |
| }, |
| { |
| protocol: "fuchsia.tracing.provider.Registry", |
| path: "/reflected/fuchsia.tracing.provider.Registry", |
| }, |
| { |
| protocol: "fuchsia.update.verify.BlobfsVerifier", |
| path: "/reflected/fuchsia.update.verify.BlobfsVerifier", |
| }, |
| ], |
| expose: [ |
| { |
| protocol: [ |
| "fuchsia.cobalt.LoggerFactory", |
| "fuchsia.paver.Paver", |
| "fuchsia.tracing.provider.Registry", |
| "fuchsia.update.verify.BlobfsVerifier", |
| "test.pkg.reflector.Reflector", |
| ], |
| from: "self", |
| }, |
| { |
| directory: "pkgfs", |
| from: "self", |
| }, |
| { |
| directory: "blob", |
| from: "self", |
| }, |
| ], |
| } |