fuchsia_component

Creates a Fuchsia component that can be added to a package.

PARAMETERS

Name Description Default
name The target name. -
manifest The component manifest file.
This attribute can be a fuchsia_component_manifest target or a cml
file. If a cml file is provided it will be compiled into a cm file.
If component_name is provided the cm file will inherit that name,
otherwise it will keep the same basename.

If you need to have more control over the compilation of the .cm file
we suggest you create a fuchsia_component_manifest target.
-
moniker The moniker to run the component under.
Defaults to "/core/ffx-laboratory:{COMPONENT_NAME}".
"/core/ffx-laboratory:{COMPONENT_NAME}"
deps A list of targets that this component depends on. []
tags Typical meaning in Bazel. By default this target is manual. ["manual"]
kwargs Extra attributes to forward to the build rule. -