| // Copyright 2022 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: [ |
| "inspect/offer.shard.cml", |
| "syslog/client.shard.cml", |
| ], |
| program: { |
| runner: "elf", |
| binary: "bin/base_resolver_bridge_to_subpackaged_component_bin", |
| }, |
| children: [ |
| // This will be resolved by the base package resolver. |
| { |
| name: "base-subpackaged-component", |
| url: "subpackaged-component#meta/mock-component.cm", |
| }, |
| ], |
| capabilities: [ |
| { |
| protocol: "test.ping.Ping", |
| path: "/svc/test.ping.Ping", |
| }, |
| ], |
| use: [ |
| { |
| protocol: "fuchsia.component.Realm", |
| from: "framework", |
| }, |
| { |
| protocol: "test.ping.Ping", |
| from: "#base-subpackaged-component", |
| }, |
| ], |
| expose: [ |
| { |
| protocol: "test.ping.Ping", |
| from: "self", |
| }, |
| ], |
| } |