tree: c7f7ef2cc15580d77523ee0e394e8c0ef76f4d97 [path history] [tgz]
  1. echo_client/
  2. echo_server/
  3. fidl/
  4. integration_tests/
  5. meta/
  6. BUILD.gn
  7. README.md
examples/components/routing/README.md

Routing Example

This directory contains an example of capability routing in Component Framework (Components v2).

Building

If these components are not present in your build, they can be added by appending --with //examples to your fx set command. For example:

$ fx set core.x64 --with //examples
$ fx build

(Disclaimer: if these build rules become out-of-date, please check the Build documentation and update this README!)

Running

ffx can be used to run the echo_realm example:

$ ffx component run fuchsia-pkg://fuchsia.com/components-routing-example#meta/echo_realm.cm

Make sure you have fx serve running in another terminal so your component can be installed!