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 .cmlfile. If a .cml file is provided it will be compiled into a .cm file.If component_name is provided, the generated .cm file willinherit 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 filewe suggest you create a fuchsia_component_manifest target and passit 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. | - |