A fuchsia-specific cc_test 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. | - |
death_unittest | Whether this test is a gtest unittest that uses ASSERT_DEATH. | False |
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 |
deps | Typical bazel meaning. | [] |
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. |
[] |
cc_test_kwargs | Arguments to forward to cc_test . |
- |