native_binary

Wraps a pre-built binary or script with a binary rule.

You can “bazel run” this rule like any other binary rule, and use it as a tool in genrule.tools for example. You can also augment the binary with runfiles.

Parameters

native_test

Wraps a pre-built binary or script with a test rule.

You can “bazel test” this rule like any other test rule. You can also augment the binary with runfiles.

Parameters