Skip to content

Commit 2c65f25

Browse files
gkdncopybara-github
authored andcommitted
Use the Bazel zip tool instead of the jar tool.
The jar tool is deprecated. PiperOrigin-RevId: 695896028
1 parent 2c2b0c7 commit 2c65f25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

third_party/extern.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ def extern(name, path = None):
99
name = name,
1010
srcs = ["@com_google_javascript_closure_compiler//:externs"],
1111
outs = ["%s.js" % name],
12-
tools = ["@bazel_tools//tools/jdk:jar"],
13-
cmd = "$(location @bazel_tools//tools/jdk:jar) -xf $(location @com_google_javascript_closure_compiler//:externs) %s; mv %s $@" % (path, path),
12+
tools = ["@bazel_tools//tools/zip:zipper"],
13+
cmd = "$(location @bazel_tools//tools/zip:zipper) x $(location @com_google_javascript_closure_compiler//:externs) %s; mv %s $@" % (path, path),
1414
)

0 commit comments

Comments
 (0)