Skip to content

Commit

Permalink
bazel: Get rid of exec_tools. (#13401)
Browse files Browse the repository at this point in the history
Bazel has removed this attribute in bazelbuild/bazel@c061e57.

Closes #13401

COPYBARA_INTEGRATE_REVIEW=#13401 from benjaminp:exec_tools 9e718ff
PiperOrigin-RevId: 552482730
  • Loading branch information
benjaminp authored and mkruskal-google committed Jul 31, 2023
1 parent fff4905 commit bc9002e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions build_defs/internal_shell.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down Expand Up @@ -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"],
Expand Down
2 changes: 1 addition & 1 deletion objectivec/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ genrule(
for wkt in _OBJC_WKT_NAMES
for ext in _OBJC_EXTS
]),
exec_tools = ["//:protoc"],
tools = ["//:protoc"],
tags = ["manual"],
)

Expand Down
2 changes: 1 addition & 1 deletion src/google/protobuf/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ genrule(
--proto_path=$$(dirname $$(dirname $$(dirname $(location any.proto)))) \
$(SRCS)
""",
exec_tools = ["//:protoc"],
tools = ["//:protoc"],
visibility = ["//visibility:private"],
)

Expand Down

0 comments on commit bc9002e

Please sign in to comment.