| // 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: [ "syslog/client.shard.cml" ], |
| program: { |
| runner: "elf", |
| binary: "bin/universe_resolver", |
| }, |
| capabilities: [ |
| { |
| resolver: "full-resolver", |
| path: "/svc/fuchsia.component.resolution.Resolver", |
| }, |
| { |
| protocol: "fuchsia.component.resolution.Resolver", |
| path: "/svc/fuchsia.component.resolution.Resolver", |
| }, |
| ], |
| use: [ |
| { |
| protocol: [ |
| "fuchsia.component.resolution.Resolver", |
| "fuchsia.pkg.PackageResolver", |
| ], |
| }, |
| ], |
| expose: [ |
| { |
| resolver: "full-resolver", |
| from: "self", |
| }, |
| |
| // Needed so the test component can call the protocol |
| { |
| protocol: "fuchsia.component.resolution.Resolver", |
| from: "self", |
| }, |
| ], |
| } |