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, 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. Each name can be prefixed with "-" to disable the
feature instead of enabling it.
[]
deps Standard meaning. []
cc_binary_kwargs Arguments to forward to cc_binary. -