tree: 6b0d9228e6a135c9f7c82d92d2dd7862c0a28d43 [path history] [tgz]
  1. meta/
  2. src/
  3. BUILD.gn
  4. METADATA.textproto
  5. OWNERS
  6. README.md
src/sys/full-resolver/README.md

full-resolver

full-resolver is a V2 component that implements the Component Resolver FIDL protocol fuchsia.component.resolution.Resolver and exposes this protocol as a resolver capability.

The responsibility of full-resolver is to resolve URLs to packages that are made available by the pkg-resolver.

Building

The full-resolver component should only be included in eng builds. Include in your local build with fx set ... --with-base //src/sys/full-resolver.

Running

To launch this component, include it as a child in the component topology using the URL fuchsia-pkg://fuchsia.com/full-resolver#meta/full-resolver.cm, and include its exposed resolver capability in an environment.

{% includecode gerrit_repo="fuchsia/fuchsia" gerrit_path="src/sys/full-resolver/meta/example.cml" region_tag="sample"}

Testing

Unit tests are available in the full-resolver-unittests package. Make sure they are included in your build: fx set ... --with-base //src/sys/full-resolver:tests.

$ fx test full-resolver-unittests