fuchsia_cc_binary

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 (overriding any transitive_features values), 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 Standard meaning. Defaults to ["manual"]. ["manual"]
visibility Standard meaning. None
features Standard meaning. []
transitive_features A list of feature flag names that apply to this target and all
its transitive dependencies. Non-configurable. Each name can be prefixed with "-"
to disable the feature instead of enabling it. If both features and
transitive_features are used, the features list will override the
transitive_features values for this target, but not for its dependencies.
[]
deps Standard meaning. []
cc_binary_kwargs Arguments to forward to cc_binary. -