You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
native_binary: use target name as filename by default
This changes the `out` attribute in native binary to default to the target name
if unspecified, which is convenient because it can be omitted when renaming targets
that are linux executables and frequently share the target name.
| <aid="native_binary-name"></a>name | A unique name for this target. | <ahref="https://bazel.build/docs/build-ref.html#name">Name</a> | required ||
32
32
| <aid="native_binary-data"></a>data | data dependencies. See https://docs.bazel.build/versions/main/be/common-definitions.html#typical.data| <ahref="https://bazel.build/docs/build-ref.html#labels">List of labels</a> | optional |[]|
33
-
| <aid="native_binary-out"></a>out | An output name for the copy of the binary | String |required||
33
+
| <aid="native_binary-out"></a>out | An output name for the copy of the binary (defaults to target name) | String |optional|""|
34
34
| <aid="native_binary-src"></a>src | path of the pre-built executable | <ahref="https://bazel.build/docs/build-ref.html#labels">Label</a> | required ||
| <aid="native_test-name"></a>name | A unique name for this target. | <ahref="https://bazel.build/docs/build-ref.html#name">Name</a> | required ||
58
58
| <aid="native_test-data"></a>data | data dependencies. See https://docs.bazel.build/versions/main/be/common-definitions.html#typical.data| <ahref="https://bazel.build/docs/build-ref.html#labels">List of labels</a> | optional |[]|
59
-
| <aid="native_test-out"></a>out | An output name for the copy of the binary | String |required||
59
+
| <aid="native_test-out"></a>out | An output name for the copy of the binary (defaults to target name) | String |optional|""|
60
60
| <aid="native_test-src"></a>src | path of the pre-built executable | <ahref="https://bazel.build/docs/build-ref.html#labels">Label</a> | required ||
0 commit comments