A fuchsia-specific cc_binary drop-in replacement.
The resulting target can be used as a dep in fuchsia_component.
If both transitive_features and features are defined, transitive_features is applied first to change the build configuration used to build the native target, then features will be applied to the cc_binary() itself, but not to its dependencies.
PARAMETERS
Name | Description | Default |
---|---|---|
name | The target name. | - |
bin_name | The filename to place under bin/. Defaults to name. | None |
tags | Tags to set for all generated targets. This type of target is marked "manual" by default. | ["manual"] |
visibility | The visibility of all generated targets. | None |
features | The normal bazel meaning. | [] |
transitive_features | A list of feature flag names that apply to this target and all its transitive dependencies. Each name can be prefixed with "-" to disable the feature instead of enabling it. |
[] |
deps | Forwarded to the underlying cc_binary . |
[] |
cc_binary_kwargs | Arguments to forward to cc_binary . |
- |