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 generated .cm file will
inherit that name. Otherwise, it will keep the same basename.
TODO(http://b/525461025): Implement the component_name behavior for the .cm file.

If you need to have more control over the compilation of the .cm file
we suggest you create a fuchsia_component_manifest target and pass
it to this rule.
-
moniker The moniker to run the component under.
Defaults to "/core/ffx-laboratory:{COMPONENT_NAME}".
"/core/ffx-laboratory:{COMPONENT_NAME}"
component_name The name of the component.
Defaults to the component manifest file's basename.
None
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. -