Skip to content

Commit 1bee457

Browse files
benjaminpcopybara-github
authored andcommitted
bazel: Get rid of exec_tools. (#13401)
Bazel has removed this attribute in bazelbuild/bazel@c061e57. Closes #13401 COPYBARA_INTEGRATE_REVIEW=#13401 from benjaminp:exec_tools 9e718ff PiperOrigin-RevId: 552482730
1 parent a80daa2 commit 1bee457

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

build_defs/internal_shell.bzl

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def inline_sh_binary(
3232
native.genrule(
3333
name = name + "_genrule",
3434
srcs = srcs,
35-
exec_tools = tools,
35+
tools = tools,
3636
outs = [name + ".sh"],
3737
cmd = "cat <<'EOF' >$(OUTS)\n#!/bin/bash -exu\n%s\nEOF\n" % cmd,
3838
visibility = ["//visibility:private"],
@@ -77,7 +77,7 @@ def inline_sh_test(
7777
native.genrule(
7878
name = name + "_genrule",
7979
srcs = srcs,
80-
exec_tools = tools,
80+
tools = tools,
8181
outs = [name + ".sh"],
8282
cmd = "cat <<'EOF' >$(OUTS)\n#!/bin/bash -exu\n%s\nEOF\n" % cmd,
8383
visibility = ["//visibility:private"],

objectivec/BUILD.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ genrule(
4242
for wkt in _OBJC_WKT_NAMES
4343
for ext in _OBJC_EXTS
4444
]),
45-
exec_tools = ["//:protoc"],
45+
tools = ["//:protoc"],
4646
tags = ["manual"],
4747
)
4848

src/google/protobuf/BUILD.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ genrule(
139139
--proto_path=$$(dirname $$(dirname $$(dirname $(location any.proto)))) \
140140
$(SRCS)
141141
""",
142-
exec_tools = ["//:protoc"],
142+
tools = ["//:protoc"],
143143
visibility = ["//visibility:private"],
144144
)
145145

0 commit comments

Comments
 (0)