summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Pursehouse <dpursehouse@collab.net>2019-09-19 23:20:23 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-09-19 23:20:23 +0000
commit5f4bc2ac0017ae52f5b6abbf50909ff514b0cb7d (patch)
treedaf47120493692917a86a081b0739d65a317fcd4
parentb7bb7354f9b8529a3befe74b977c9411f7428ef7 (diff)
parentde26597b54492a753467fab23e51d863f424c4ef (diff)
Merge changes I82fc3d65,Ia0f2aa5f into stable-2.14
* changes: Bazel: Bump rules_closure to 3.10.0-rc1 Bazel: Remove duplicate bazel_toolchains fetching
-rw-r--r--WORKSPACE38
1 files changed, 17 insertions, 21 deletions
diff --git a/WORKSPACE b/WORKSPACE
index d4773738dd..fbcded2409 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -23,23 +23,6 @@ load("@bazel_toolchains//rules:rbe_repo.bzl", "rbe_autoconfig")
rbe_autoconfig(name = "rbe_default")
http_archive(
- name = "bazel_toolchains",
- sha256 = "88e818f9f03628eef609c8429c210ecf265ffe46c2af095f36c7ef8b1855fef5",
- strip_prefix = "bazel-toolchains-92dd8a7a518a2fb7ba992d47c8b38299fe0be825",
- urls = [
- "https://mirror.bazel.build/github.com/bazelbuild/bazel-toolchains/archive/92dd8a7a518a2fb7ba992d47c8b38299fe0be825.tar.gz",
- "https://github.com/bazelbuild/bazel-toolchains/archive/92dd8a7a518a2fb7ba992d47c8b38299fe0be825.tar.gz",
- ],
-)
-
-load("@bazel_toolchains//rules:rbe_repo.bzl", "rbe_autoconfig")
-
-# Creates a default toolchain config for RBE.
-# Use this as is if you are using the rbe_ubuntu16_04 container,
-# otherwise refer to RBE docs.
-rbe_autoconfig(name = "rbe_default")
-
-http_archive(
name = "bazel_skylib",
sha256 = "2ea8a5ed2b448baf4a6855d3ce049c4c452a6470b1efd1504fdb7c1c134d220a",
strip_prefix = "bazel-skylib-0.8.0",
@@ -48,9 +31,9 @@ http_archive(
http_archive(
name = "io_bazel_rules_closure",
- sha256 = "d075b084e6f4109d1b1ab877495ac72c1a6c4dbc593980967e0b7359f4254d7e",
- strip_prefix = "rules_closure-78f1192664acf66ca1de24116cbcc98e1698f26b",
- urls = ["https://github.com/bazelbuild/rules_closure/archive/78f1192664acf66ca1de24116cbcc98e1698f26b.tar.gz"],
+ sha256 = "39b7bec43e6178d065875987b18623d476acd54f355d7711ce9dce4a3eec0795",
+ strip_prefix = "rules_closure-0.25",
+ urls = ["https://github.com/davido/rules_closure/archive/v0.25.tar.gz"],
)
# File is specific to Polymer and copied from the Closure Github -- should be
@@ -72,6 +55,17 @@ load("@bazelisk_version//:check.bzl", "check_bazel_version")
check_bazel_version()
+# Protobuf rules support
+http_archive(
+ name = "rules_proto",
+ sha256 = "602e7161d9195e50246177e7c55b2f39950a9cf7366f74ed5f22fd45750cd208",
+ strip_prefix = "rules_proto-97d8af4dc474595af3900dd85cb3a29ad28cc313",
+ urls = [
+ "https://mirror.bazel.build/github.com/bazelbuild/rules_proto/archive/97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz",
+ "https://github.com/bazelbuild/rules_proto/archive/97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz",
+ ],
+)
+
# Rules Python
http_archive(
name = "rules_python",
@@ -84,7 +78,7 @@ load("@rules_python//python:repositories.bzl", "py_repositories")
py_repositories()
-load("@io_bazel_rules_closure//closure:defs.bzl", "closure_repositories")
+load("@io_bazel_rules_closure//closure:repositories.bzl", "closure_repositories")
# Prevent redundant loading of dependencies.
closure_repositories(
@@ -92,6 +86,8 @@ closure_repositories(
omit_args4j = True,
omit_bazel_skylib = True,
omit_javax_inject = True,
+ omit_rules_cc = True,
+ omit_rules_java = True,
)
ANTLR_VERS = "3.5.2"