tree: 4417a861c83d0292c3cad7b5e98d2734b1147dbe [path history] [tgz]
  1. BUILD.gn
  2. README.md
  3. meta/
  4. src/
  5. tests/
src/sys/component_manager/README.md

component manager

Reviewed on: 2019-07-12

Component manager is the program which runs and manages v2 components. More about what components are, what semantics they provide, and how to use them is available here.

Building

Component manager should be included in all builds of Fuchsia, but if missing can be added to builds by including --with //src/sys/component_manager to the fx set invocation.

Running

Component manager runs by default on all Fuchsia builds.

Testing

Unit tests for component manager are available in the component_manager_tests package.

$ fx run-test component_manager_tests

Integration tests are also available in the following packages:

  • hub_integration_test
  • storage_integration_test
  • routing_integration_test
  • elf_runner_test
  • no_pkg_resolver_test

Source layout

The entrypoint is located in src/main.rs, and the core model implementation is under src/model/. Unit tests are co-located with the code, with the exception of src/model/ which has unit tests in src/model/tests/. Integration tests live in tests/.