Skip to content

Commit 4d60483

Browse files
katredx404
authored andcommitted
Replace use of genrule.exec_tools with tools.
Part of bazelbuild/bazel#19132 PiperOrigin-RevId: 553056621
1 parent 15a5ea0 commit 4d60483

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

BUILD

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ genrule(
1818
" --version_file $(location VERSION_JDK11_LEGACY.txt)" +
1919
" --dependencies_file $(location DEPENDENCIES_JDK11_LEGACY.txt)" +
2020
" --out $@",
21-
exec_tools = [":build_maven_artifact"],
21+
tools = [":build_maven_artifact"],
2222
)
2323

2424
genrule(
@@ -35,7 +35,7 @@ genrule(
3535
" --version_file $(location VERSION_JDK11_MINIMAL.txt)" +
3636
" --dependencies_file $(location DEPENDENCIES_JDK11_MINIMAL.txt)" +
3737
" --out $@",
38-
exec_tools = [":build_maven_artifact"],
38+
tools = [":build_maven_artifact"],
3939
)
4040

4141
genrule(
@@ -52,7 +52,7 @@ genrule(
5252
" --version_file $(location VERSION_JDK11.txt)" +
5353
" --dependencies_file $(location DEPENDENCIES_JDK11.txt)" +
5454
" --out $@",
55-
exec_tools = [":build_maven_artifact"],
55+
tools = [":build_maven_artifact"],
5656
)
5757

5858
genrule(
@@ -69,7 +69,7 @@ genrule(
6969
" --version_file $(location VERSION_JDK11_NIO.txt)" +
7070
" --dependencies_file $(location DEPENDENCIES_JDK11_NIO.txt)" +
7171
" --out $@",
72-
exec_tools = [":build_maven_artifact"],
72+
tools = [":build_maven_artifact"],
7373
)
7474

7575
py_binary(

jdk11/src/BUILD

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ genrule(
2929
cmd = """
3030
$(location //:tools/jdk_type_selector) $(location :java_base_all) $@ "--config=d8_desugar"
3131
""",
32-
exec_tools = ["//:tools/jdk_type_selector"],
32+
tools = ["//:tools/jdk_type_selector"],
3333
visibility = ["//:__pkg__"],
3434
)
3535

@@ -62,6 +62,6 @@ genrule(
6262
cmd = """
6363
$(location //:tools/jdk_type_selector) $(location :java_base_all) $@ "--config=android_fix_libs"
6464
""",
65-
exec_tools = ["//:tools/jdk_type_selector"],
65+
tools = ["//:tools/jdk_type_selector"],
6666
visibility = ["//:__pkg__"],
6767
)

0 commit comments

Comments
 (0)