| // 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. |
| |
| // [START example_snippet] |
| { |
| include: [ "syslog/client.shard.cml" ], |
| |
| // Information about the program to run. |
| program: { |
| // Use the built-in ELF runner. |
| runner: "elf", |
| |
| // The binary to run for this component. |
| binary: "bin/fidl_echo_cpp_wire_server", |
| }, |
| |
| // Capabilities provided by this component. |
| capabilities: [ |
| { protocol: "fuchsia.examples.Echo" }, |
| ], |
| expose: [ |
| { |
| protocol: "fuchsia.examples.Echo", |
| from: "self", |
| }, |
| ], |
| } |
| |
| // [END example_snippet] |