From a0a6ff4a6f254e09e59b8f7d6ad5dd748615838d Mon Sep 17 00:00:00 2001 From: David Ostrovsky Date: Sun, 15 Mar 2020 08:22:08 +0100 Subject: [PATCH] Update rules_closure to latest version This update upgrades Protobuf to v3.11.4 and replaces default value of closure_js_binary#dependency_mode with PRUNE_LEGACY. This upgrade switched to forked rules_closure version, until this PR is merged: [1]. [1] https://github.com/bazelbuild/rules_closure/pull/478 Change-Id: I6d4ac2ae24545f302fec9a39bbcd019974f574be --- WORKSPACE | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index ed18d5079e8..e62396edf92 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -23,11 +23,13 @@ load("@bazel_toolchains//rules:rbe_repo.bzl", "rbe_autoconfig") # otherwise refer to RBE docs. rbe_autoconfig(name = "rbe_default") +# TODO(davido): Switch to upstream again, when this PR is merged: +# https://github.com/bazelbuild/rules_closure/pull/478 http_archive( name = "io_bazel_rules_closure", - sha256 = "03c3b16f205085817fd89cfdcb2220a0138647ee7992be9cef291b069dd90301", - strip_prefix = "rules_closure-196a45f0ede2faec11dcc6c60fbc5e7471f4bd58", - urls = ["https://github.com/bazelbuild/rules_closure/archive/196a45f0ede2faec11dcc6c60fbc5e7471f4bd58.tar.gz"], + sha256 = "b9c2bc6ba377aa497eb7c31681d34404febf9d4e3c9c7d98ce0d78238a0af20f", + strip_prefix = "rules_closure-0.31", + urls = ["https://github.com/davido/rules_closure/archive/V0.31.tar.gz"], ) # File is specific to Polymer and copied from the Closure Github -- should be