From bd979c17ea08aede968be2dd62c4deb7b1abd6c5 Mon Sep 17 00:00:00 2001 From: Martin Hutchinson Date: Thu, 26 May 2022 15:11:33 +0100 Subject: [PATCH] Removed support for Bazel To our knowledge nobody was using this and python support was already removed in #1964. If the removal of this affects anybody and they let us know, then I'm open to bringing this back. Without knowing it's used, this is something that breaks from time to time and demands investigation to keep CI working and thus hard to justify the return on investment. Fixes #2690 --- WORKSPACE | 45 --------------------------------------------- 1 file changed, 45 deletions(-) delete mode 100644 WORKSPACE diff --git a/WORKSPACE b/WORKSPACE deleted file mode 100644 index 746a4904a0..0000000000 --- a/WORKSPACE +++ /dev/null @@ -1,45 +0,0 @@ -load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") - -http_archive( - name = "bazel_skylib", - sha256 = "bbccf674aa441c266df9894182d80de104cabd19be98be002f6d478aaa31574d", - strip_prefix = "bazel-skylib-2169ae1c374aab4a09aa90e65efe1a3aad4e279b", - urls = ["https://github.com/bazelbuild/bazel-skylib/archive/2169ae1c374aab4a09aa90e65efe1a3aad4e279b.tar.gz"], -) - -load("@bazel_skylib//lib:versions.bzl", "versions") - -versions.check(minimum_bazel_version = "0.5.4") - -# This com_google_protobuf repository is required for proto_library rule. -# It provides the protocol compiler binary (i.e., protoc). -http_archive( - name = "com_google_protobuf", - strip_prefix = "protobuf-3.9.0", - urls = ["https://github.com/protocolbuffers/protobuf/archive/v3.9.0.zip"], -) - -load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps") - -protobuf_deps() - -http_archive( - name = "com_google_googleapis", - strip_prefix = "googleapis-master", - url = "https://github.com/googleapis/googleapis/archive/master.zip", -) - -load("@com_google_googleapis//:repository_rules.bzl", "switched_rules_by_language") - -switched_rules_by_language( - name = "com_google_googleapis_imports", - go = True, - java = True, - python = False, # Broken by https://github.com/googleapis/googleapis/commit/248abde0 -) - -http_archive( - name = "io_bazel_rules_go", - strip_prefix = "rules_go-7d17d496a6b32f6a573c6c22e29c58204eddf3d4", - urls = ["https://github.com/bazelbuild/rules_go/archive/7d17d496a6b32f6a573c6c22e29c58204eddf3d4.zip"], -)