bazel: Get rid of exec_tools. (#13401)
Bazel has removed this attribute in bazelbuild/bazel@c061e57a70.
Closes #13401
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/13401 from benjaminp:exec_tools 9e718ff0fd
PiperOrigin-RevId: 552482730
pull/13408/head
parent
a80daa2a2c
commit
1bee4578b8
|
@ -32,7 +32,7 @@ def inline_sh_binary(
|
|||
native.genrule(
|
||||
name = name + "_genrule",
|
||||
srcs = srcs,
|
||||
exec_tools = tools,
|
||||
tools = tools,
|
||||
outs = [name + ".sh"],
|
||||
cmd = "cat <<'EOF' >$(OUTS)\n#!/bin/bash -exu\n%s\nEOF\n" % cmd,
|
||||
visibility = ["//visibility:private"],
|
||||
|
@ -77,7 +77,7 @@ def inline_sh_test(
|
|||
native.genrule(
|
||||
name = name + "_genrule",
|
||||
srcs = srcs,
|
||||
exec_tools = tools,
|
||||
tools = tools,
|
||||
outs = [name + ".sh"],
|
||||
cmd = "cat <<'EOF' >$(OUTS)\n#!/bin/bash -exu\n%s\nEOF\n" % cmd,
|
||||
visibility = ["//visibility:private"],
|
||||
|
|
|
@ -42,7 +42,7 @@ genrule(
|
|||
for wkt in _OBJC_WKT_NAMES
|
||||
for ext in _OBJC_EXTS
|
||||
]),
|
||||
exec_tools = ["//:protoc"],
|
||||
tools = ["//:protoc"],
|
||||
tags = ["manual"],
|
||||
)
|
||||
|
||||
|
|
|
@ -139,7 +139,7 @@ genrule(
|
|||
--proto_path=$$(dirname $$(dirname $$(dirname $(location any.proto)))) \
|
||||
$(SRCS)
|
||||
""",
|
||||
exec_tools = ["//:protoc"],
|
||||
tools = ["//:protoc"],
|
||||
visibility = ["//visibility:private"],
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue