1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
|
Description: Debian-specific fixes in WORKSPACE file
Bazel needs to download some dependencies just to properly parse the
WORKSPACE file. We comment some load statements so that it won’t download
the things we don’t need for building Bazel binary. Also, remove @io_bazel
reference that was causing ccache failures.
Author: Yun Peng <pcloudy@google.com>
Origin: upstream, https://github.com/meteorcloudy/bazel/commit/1c38681aec9dee4eeeeac6196154c01e67878d65
Forwarded: not-needed
Last-Update: 2020-07-22
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -466,24 +466,6 @@
],
)
-load("@bazel_toolchains//rules:rbe_repo.bzl", "rbe_autoconfig")
-
-rbe_autoconfig(
- name = "rbe_ubuntu1804_java11",
- detect_java_home = True,
- registry = "gcr.io",
- repository = "bazel-public/ubuntu1804-bazel-java11",
- tag = "latest",
-)
-
-rbe_autoconfig(
- name = "rbe_ubuntu1604_java8",
- detect_java_home = True,
- registry = "gcr.io",
- repository = "bazel-public/ubuntu1604-bazel-java8",
- tag = "latest",
-)
-
# Creates toolchain configuration for remote execution with BuildKite CI
# for rbe_ubuntu1604.
# To run the tests with RBE on BuildKite CI uncomment the two lines below
@@ -1188,18 +1170,6 @@
stardoc_repositories()
-load("@io_bazel_rules_sass//:package.bzl", "rules_sass_dependencies")
-
-rules_sass_dependencies()
-
-load("@build_bazel_rules_nodejs//:index.bzl", "node_repositories")
-
-node_repositories()
-
-load("@io_bazel_rules_sass//:defs.bzl", "sass_repositories")
-
-sass_repositories()
-
register_execution_platforms("//:default_host_platform") # buildozer: disable=positional-args
# Tools for building deb, rpm and tar files.
@@ -1241,20 +1211,6 @@
],
)
-# Projects using gRPC as an external dependency must call both grpc_deps() and
-# grpc_extra_deps().
-load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps")
-
-grpc_deps()
-
-load("@com_github_grpc_grpc//bazel:grpc_extra_deps.bzl", "grpc_extra_deps")
-
-grpc_extra_deps()
-
load("//tools/distributions/debian:deps.bzl", "debian_deps")
debian_deps()
-
-load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
-
-bazel_skylib_workspace()
|