mirror of https://github.com/grpc/grpc.git
The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)
https://grpc.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
552 lines
23 KiB
552 lines
23 KiB
# Copyright 2021 The gRPC Authors |
|
# |
|
# Licensed under the Apache License, Version 2.0 (the "License"); |
|
# you may not use this file except in compliance with the License. |
|
# You may obtain a copy of the License at |
|
# |
|
# http://www.apache.org/licenses/LICENSE-2.0 |
|
# |
|
# Unless required by applicable law or agreed to in writing, software |
|
# distributed under the License is distributed on an "AS IS" BASIS, |
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
# See the License for the specific language governing permissions and |
|
# limitations under the License. |
|
"""Load dependencies needed to compile and test the grpc library as a 3rd-party consumer.""" |
|
|
|
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") |
|
load("@com_github_grpc_grpc//bazel:grpc_python_deps.bzl", "grpc_python_deps") |
|
|
|
# buildifier: disable=unnamed-macro |
|
def grpc_deps(): |
|
"""Loads dependencies need to compile and test the grpc library.""" |
|
|
|
native.bind( |
|
name = "upb_lib", |
|
actual = "@upb//:upb", |
|
) |
|
|
|
native.bind( |
|
name = "upb_reflection", |
|
actual = "@upb//:reflection", |
|
) |
|
|
|
native.bind( |
|
name = "upb_lib_descriptor", |
|
actual = "@upb//:descriptor_upb_proto", |
|
) |
|
|
|
native.bind( |
|
name = "upb_lib_descriptor_reflection", |
|
actual = "@upb//:descriptor_upb_proto_reflection", |
|
) |
|
|
|
native.bind( |
|
name = "upb_textformat_lib", |
|
actual = "@upb//:textformat", |
|
) |
|
|
|
native.bind( |
|
name = "upb_json_lib", |
|
actual = "@upb//:json", |
|
) |
|
|
|
native.bind( |
|
name = "upb_generated_code_support__only_for_generated_code_do_not_use__i_give_permission_to_break_me", |
|
actual = "@upb//:generated_code_support__only_for_generated_code_do_not_use__i_give_permission_to_break_me", |
|
) |
|
|
|
native.bind( |
|
name = "absl", |
|
actual = "@com_google_absl//absl", |
|
) |
|
|
|
native.bind( |
|
name = "absl-base", |
|
actual = "@com_google_absl//absl/base", |
|
) |
|
|
|
native.bind( |
|
name = "absl-time", |
|
actual = "@com_google_absl//absl/time:time", |
|
) |
|
|
|
native.bind( |
|
name = "libssl", |
|
actual = "@boringssl//:ssl", |
|
) |
|
|
|
native.bind( |
|
name = "libcrypto", |
|
actual = "@boringssl//:crypto", |
|
) |
|
|
|
native.bind( |
|
name = "madler_zlib", |
|
actual = "@zlib//:zlib", |
|
) |
|
|
|
native.bind( |
|
name = "protobuf", |
|
actual = "@com_google_protobuf//:protobuf", |
|
) |
|
|
|
native.bind( |
|
name = "protobuf_clib", |
|
actual = "@com_google_protobuf//:protoc_lib", |
|
) |
|
|
|
native.bind( |
|
name = "protobuf_headers", |
|
actual = "@com_google_protobuf//:protobuf_headers", |
|
) |
|
|
|
native.bind( |
|
name = "protocol_compiler", |
|
actual = "@com_google_protobuf//:protoc", |
|
) |
|
|
|
native.bind( |
|
name = "cares", |
|
actual = "@com_github_cares_cares//:ares", |
|
) |
|
|
|
native.bind( |
|
name = "gtest", |
|
actual = "@com_google_googletest//:gtest", |
|
) |
|
|
|
native.bind( |
|
name = "benchmark", |
|
actual = "@com_github_google_benchmark//:benchmark", |
|
) |
|
|
|
native.bind( |
|
name = "re2", |
|
actual = "@com_googlesource_code_re2//:re2", |
|
) |
|
|
|
native.bind( |
|
name = "grpc_cpp_plugin", |
|
actual = "@com_github_grpc_grpc//src/compiler:grpc_cpp_plugin", |
|
) |
|
|
|
native.bind( |
|
name = "grpc++_codegen_proto", |
|
actual = "@com_github_grpc_grpc//:grpc++_codegen_proto", |
|
) |
|
|
|
native.bind( |
|
name = "opencensus-context", |
|
actual = "@io_opencensus_cpp//opencensus/context:context", |
|
) |
|
|
|
native.bind( |
|
name = "opencensus-trace", |
|
actual = "@io_opencensus_cpp//opencensus/trace:trace", |
|
) |
|
|
|
native.bind( |
|
name = "opencensus-trace-context_util", |
|
actual = "@io_opencensus_cpp//opencensus/trace:context_util", |
|
) |
|
|
|
native.bind( |
|
name = "opencensus-trace-propagation", |
|
actual = "@io_opencensus_cpp//opencensus/trace:grpc_trace_bin", |
|
) |
|
|
|
native.bind( |
|
name = "opencensus-stats", |
|
actual = "@io_opencensus_cpp//opencensus/stats:stats", |
|
) |
|
|
|
native.bind( |
|
name = "opencensus-stats-test", |
|
actual = "@io_opencensus_cpp//opencensus/stats:test_utils", |
|
) |
|
|
|
native.bind( |
|
name = "opencensus-with-tag-map", |
|
actual = "@io_opencensus_cpp//opencensus/tags:with_tag_map", |
|
) |
|
|
|
native.bind( |
|
name = "opencensus-tags", |
|
actual = "@io_opencensus_cpp//opencensus/tags:tags", |
|
) |
|
|
|
native.bind( |
|
name = "opencensus-tags-context_util", |
|
actual = "@io_opencensus_cpp//opencensus/tags:context_util", |
|
) |
|
|
|
native.bind( |
|
name = "libuv", |
|
actual = "@com_github_libuv_libuv//:libuv", |
|
) |
|
|
|
native.bind( |
|
name = "libuv_test", |
|
actual = "@com_github_libuv_libuv//:libuv_test", |
|
) |
|
|
|
if "boringssl" not in native.existing_rules(): |
|
http_archive( |
|
name = "boringssl", |
|
# Use github mirror instead of https://boringssl.googlesource.com/boringssl |
|
# to obtain a boringssl archive with consistent sha256 |
|
sha256 = "534fa658bd845fd974b50b10f444d392dfd0d93768c4a51b61263fd37d851c40", |
|
strip_prefix = "boringssl-b9232f9e27e5668bc0414879dcdedb2a59ea75f2", |
|
urls = [ |
|
"https://storage.googleapis.com/grpc-bazel-mirror/github.com/google/boringssl/archive/b9232f9e27e5668bc0414879dcdedb2a59ea75f2.tar.gz", |
|
"https://github.com/google/boringssl/archive/b9232f9e27e5668bc0414879dcdedb2a59ea75f2.tar.gz", |
|
], |
|
) |
|
|
|
if "zlib" not in native.existing_rules(): |
|
http_archive( |
|
name = "zlib", |
|
build_file = "@com_github_grpc_grpc//third_party:zlib.BUILD", |
|
sha256 = "6d4d6640ca3121620995ee255945161821218752b551a1a180f4215f7d124d45", |
|
strip_prefix = "zlib-cacf7f1d4e3d44d871b605da3b647f07d718623f", |
|
urls = [ |
|
"https://storage.googleapis.com/grpc-bazel-mirror/github.com/madler/zlib/archive/cacf7f1d4e3d44d871b605da3b647f07d718623f.tar.gz", |
|
"https://github.com/madler/zlib/archive/cacf7f1d4e3d44d871b605da3b647f07d718623f.tar.gz", |
|
], |
|
) |
|
|
|
if "com_google_protobuf" not in native.existing_rules(): |
|
http_archive( |
|
name = "com_google_protobuf", |
|
sha256 = "bab1685f92cc4ea5b6420026eef6c7973ae96fc21f4f1a3ee626dc6ca6d77c12", |
|
strip_prefix = "protobuf-22d0e265de7d2b3d2e9a00d071313502e7d4cccf", |
|
urls = [ |
|
"https://storage.googleapis.com/grpc-bazel-mirror/github.com/protocolbuffers/protobuf/archive/22d0e265de7d2b3d2e9a00d071313502e7d4cccf.tar.gz", |
|
"https://github.com/protocolbuffers/protobuf/archive/22d0e265de7d2b3d2e9a00d071313502e7d4cccf.tar.gz", |
|
], |
|
patches = ["@com_github_grpc_grpc//third_party:protobuf.patch"], |
|
patch_args = ["-p1"], |
|
) |
|
|
|
if "com_google_googletest" not in native.existing_rules(): |
|
http_archive( |
|
name = "com_google_googletest", |
|
sha256 = "c8de6c60e12ad014a28225c5247ee735861d85cf906df617f6a29954ca05f547", |
|
strip_prefix = "googletest-0e402173c97aea7a00749e825b194bfede4f2e45", |
|
urls = [ |
|
# 2022-02-09 |
|
"https://github.com/google/googletest/archive/0e402173c97aea7a00749e825b194bfede4f2e45.tar.gz", |
|
], |
|
) |
|
|
|
if "rules_cc" not in native.existing_rules(): |
|
http_archive( |
|
name = "rules_cc", |
|
sha256 = "35f2fb4ea0b3e61ad64a369de284e4fbbdcdba71836a5555abb5e194cf119509", |
|
strip_prefix = "rules_cc-624b5d59dfb45672d4239422fa1e3de1822ee110", |
|
urls = [ |
|
#2019-08-15 |
|
"https://storage.googleapis.com/grpc-bazel-mirror/github.com/bazelbuild/rules_cc/archive/624b5d59dfb45672d4239422fa1e3de1822ee110.tar.gz", |
|
"https://github.com/bazelbuild/rules_cc/archive/624b5d59dfb45672d4239422fa1e3de1822ee110.tar.gz", |
|
], |
|
) |
|
|
|
if "com_github_google_benchmark" not in native.existing_rules(): |
|
http_archive( |
|
name = "com_github_google_benchmark", |
|
sha256 = "0b921a3bc39e35f4275c8dcc658af2391c150fb966102341287b0401ff2e6f21", |
|
strip_prefix = "benchmark-0baacde3618ca617da95375e0af13ce1baadea47", |
|
urls = [ |
|
"https://storage.googleapis.com/grpc-bazel-mirror/github.com/google/benchmark/archive/0baacde3618ca617da95375e0af13ce1baadea47.tar.gz", |
|
"https://github.com/google/benchmark/archive/0baacde3618ca617da95375e0af13ce1baadea47.tar.gz", |
|
], |
|
) |
|
|
|
if "com_googlesource_code_re2" not in native.existing_rules(): |
|
http_archive( |
|
name = "com_googlesource_code_re2", |
|
sha256 = "319a58a58d8af295db97dfeecc4e250179c5966beaa2d842a82f0a013b6a239b", |
|
# Release 2021-09-01 |
|
strip_prefix = "re2-8e08f47b11b413302749c0d8b17a1c94777495d5", |
|
urls = [ |
|
"https://storage.googleapis.com/grpc-bazel-mirror/github.com/google/re2/archive/8e08f47b11b413302749c0d8b17a1c94777495d5.tar.gz", |
|
"https://github.com/google/re2/archive/8e08f47b11b413302749c0d8b17a1c94777495d5.tar.gz", |
|
], |
|
) |
|
|
|
if "com_github_cares_cares" not in native.existing_rules(): |
|
http_archive( |
|
name = "com_github_cares_cares", |
|
build_file = "@com_github_grpc_grpc//third_party:cares/cares.BUILD", |
|
sha256 = "ec76c5e79db59762776bece58b69507d095856c37b81fd35bfb0958e74b61d93", |
|
strip_prefix = "c-ares-6654436a307a5a686b008c1d4c93b0085da6e6d8", |
|
urls = [ |
|
"https://storage.googleapis.com/grpc-bazel-mirror/github.com/c-ares/c-ares/archive/6654436a307a5a686b008c1d4c93b0085da6e6d8.tar.gz", |
|
"https://github.com/c-ares/c-ares/archive/6654436a307a5a686b008c1d4c93b0085da6e6d8.tar.gz", |
|
], |
|
) |
|
|
|
if "com_google_absl" not in native.existing_rules(): |
|
http_archive( |
|
name = "com_google_absl", |
|
sha256 = "dcf71b9cba8dc0ca9940c4b316a0c796be8fab42b070bb6b7cab62b48f0e66c4", |
|
strip_prefix = "abseil-cpp-20211102.0", |
|
urls = [ |
|
"https://storage.googleapis.com/grpc-bazel-mirror/github.com/abseil/abseil-cpp/archive/20211102.0.tar.gz", |
|
"https://github.com/abseil/abseil-cpp/archive/20211102.0.tar.gz", |
|
], |
|
) |
|
|
|
if "bazel_toolchains" not in native.existing_rules(): |
|
# list of releases is at https://releases.bazel.build/bazel-toolchains.html |
|
http_archive( |
|
name = "bazel_toolchains", |
|
sha256 = "179ec02f809e86abf56356d8898c8bd74069f1bd7c56044050c2cd3d79d0e024", |
|
strip_prefix = "bazel-toolchains-4.1.0", |
|
urls = [ |
|
"https://mirror.bazel.build/github.com/bazelbuild/bazel-toolchains/archive/4.1.0.tar.gz", |
|
"https://github.com/bazelbuild/bazel-toolchains/releases/download/4.1.0/bazel-toolchains-4.1.0.tar.gz", |
|
], |
|
) |
|
|
|
if "bazel_skylib" not in native.existing_rules(): |
|
http_archive( |
|
name = "bazel_skylib", |
|
urls = [ |
|
"https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.0.2/bazel-skylib-1.0.2.tar.gz", |
|
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.0.2/bazel-skylib-1.0.2.tar.gz", |
|
], |
|
sha256 = "97e70364e9249702246c0e9444bccdc4b847bed1eb03c5a3ece4f83dfe6abc44", |
|
) |
|
|
|
if "bazel_compdb" not in native.existing_rules(): |
|
http_archive( |
|
name = "bazel_compdb", |
|
sha256 = "bcecfd622c4ef272fd4ba42726a52e140b961c4eac23025f18b346c968a8cfb4", |
|
strip_prefix = "bazel-compilation-database-0.4.5", |
|
urls = [ |
|
"https://storage.googleapis.com/grpc-bazel-mirror/github.com/grailbio/bazel-compilation-database/archive/0.4.5.tar.gz", |
|
"https://github.com/grailbio/bazel-compilation-database/archive/0.4.5.tar.gz", |
|
], |
|
) |
|
|
|
if "io_opencensus_cpp" not in native.existing_rules(): |
|
http_archive( |
|
name = "io_opencensus_cpp", |
|
sha256 = "90d6fafa8b1a2ea613bf662731d3086e1c2ed286f458a95c81744df2dbae41b1", |
|
strip_prefix = "opencensus-cpp-c9a4da319bc669a772928ffc55af4a61be1a1176", |
|
urls = [ |
|
"https://storage.googleapis.com/grpc-bazel-mirror/github.com/census-instrumentation/opencensus-cpp/archive/c9a4da319bc669a772928ffc55af4a61be1a1176.tar.gz", |
|
"https://github.com/census-instrumentation/opencensus-cpp/archive/c9a4da319bc669a772928ffc55af4a61be1a1176.tar.gz", |
|
], |
|
) |
|
|
|
if "upb" not in native.existing_rules(): |
|
http_archive( |
|
name = "upb", |
|
sha256 = "d0fe259d650bf9547e75896a1307bfc7034195e4ae89f5139814d295991ba681", |
|
strip_prefix = "upb-bef53686ec702607971bd3ea4d4fefd80c6cc6e8", |
|
urls = [ |
|
"https://storage.googleapis.com/grpc-bazel-mirror/github.com/protocolbuffers/upb/archive/bef53686ec702607971bd3ea4d4fefd80c6cc6e8.tar.gz", |
|
"https://github.com/protocolbuffers/upb/archive/bef53686ec702607971bd3ea4d4fefd80c6cc6e8.tar.gz", |
|
], |
|
) |
|
|
|
if "envoy_api" not in native.existing_rules(): |
|
http_archive( |
|
name = "envoy_api", |
|
sha256 = "c5807010b67033330915ca5a20483e30538ae5e689aa14b3631d6284beca4630", |
|
strip_prefix = "data-plane-api-9c42588c956220b48eb3099d186487c2f04d32ec", |
|
urls = [ |
|
"https://storage.googleapis.com/grpc-bazel-mirror/github.com/envoyproxy/data-plane-api/archive/9c42588c956220b48eb3099d186487c2f04d32ec.tar.gz", |
|
"https://github.com/envoyproxy/data-plane-api/archive/9c42588c956220b48eb3099d186487c2f04d32ec.tar.gz", |
|
], |
|
) |
|
|
|
if "io_bazel_rules_go" not in native.existing_rules(): |
|
http_archive( |
|
name = "io_bazel_rules_go", |
|
sha256 = "f2dcd210c7095febe54b804bb1cd3a58fe8435a909db2ec04e31542631cf715c", |
|
urls = [ |
|
"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.31.0/rules_go-v0.31.0.zip", |
|
"https://github.com/bazelbuild/rules_go/releases/download/v0.31.0/rules_go-v0.31.0.zip", |
|
], |
|
) |
|
|
|
if "build_bazel_rules_apple" not in native.existing_rules(): |
|
http_archive( |
|
name = "build_bazel_rules_apple", |
|
sha256 = "0052d452af7742c8f3a4e0929763388a66403de363775db7e90adecb2ba4944b", |
|
urls = [ |
|
"https://storage.googleapis.com/grpc-bazel-mirror/github.com/bazelbuild/rules_apple/releases/download/0.31.3/rules_apple.0.31.3.tar.gz", |
|
"https://github.com/bazelbuild/rules_apple/releases/download/0.31.3/rules_apple.0.31.3.tar.gz", |
|
], |
|
) |
|
|
|
if "build_bazel_apple_support" not in native.existing_rules(): |
|
http_archive( |
|
name = "build_bazel_apple_support", |
|
sha256 = "76df040ade90836ff5543888d64616e7ba6c3a7b33b916aa3a4b68f342d1b447", |
|
urls = [ |
|
"https://storage.googleapis.com/grpc-bazel-mirror/github.com/bazelbuild/apple_support/releases/download/0.11.0/apple_support.0.11.0.tar.gz", |
|
"https://github.com/bazelbuild/apple_support/releases/download/0.11.0/apple_support.0.11.0.tar.gz", |
|
], |
|
) |
|
|
|
if "com_github_libuv_libuv" not in native.existing_rules(): |
|
http_archive( |
|
name = "com_github_libuv_libuv", |
|
build_file = "@com_github_grpc_grpc//third_party:libuv.BUILD", |
|
sha256 = "5ca4e9091f3231d8ad8801862dc4e851c23af89c69141d27723157776f7291e7", |
|
strip_prefix = "libuv-02a9e1be252b623ee032a3137c0b0c94afbe6809", |
|
urls = [ |
|
"https://storage.googleapis.com/grpc-bazel-mirror/github.com/libuv/libuv/archive/02a9e1be252b623ee032a3137c0b0c94afbe6809.tar.gz", |
|
"https://github.com/libuv/libuv/archive/02a9e1be252b623ee032a3137c0b0c94afbe6809.tar.gz", |
|
], |
|
) |
|
|
|
if "com_google_googleapis" not in native.existing_rules(): |
|
http_archive( |
|
name = "com_google_googleapis", |
|
sha256 = "5bb6b0253ccf64b53d6c7249625a7e3f6c3bc6402abd52d3778bfa48258703a0", |
|
strip_prefix = "googleapis-2f9af297c84c55c8b871ba4495e01ade42476c92", |
|
urls = [ |
|
"https://storage.googleapis.com/grpc-bazel-mirror/github.com/googleapis/googleapis/archive/2f9af297c84c55c8b871ba4495e01ade42476c92.tar.gz", |
|
"https://github.com/googleapis/googleapis/archive/2f9af297c84c55c8b871ba4495e01ade42476c92.tar.gz", |
|
], |
|
) |
|
|
|
if "bazel_gazelle" not in native.existing_rules(): |
|
http_archive( |
|
name = "bazel_gazelle", |
|
sha256 = "de69a09dc70417580aabf20a28619bb3ef60d038470c7cf8442fafcf627c21cb", |
|
urls = [ |
|
"https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.24.0/bazel-gazelle-v0.24.0.tar.gz", |
|
"https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.24.0/bazel-gazelle-v0.24.0.tar.gz", |
|
], |
|
) |
|
|
|
if "opencensus_proto" not in native.existing_rules(): |
|
http_archive( |
|
name = "opencensus_proto", |
|
sha256 = "b7e13f0b4259e80c3070b583c2f39e53153085a6918718b1c710caf7037572b0", |
|
strip_prefix = "opencensus-proto-0.3.0/src", |
|
urls = [ |
|
"https://storage.googleapis.com/grpc-bazel-mirror/github.com/census-instrumentation/opencensus-proto/archive/v0.3.0.tar.gz", |
|
"https://github.com/census-instrumentation/opencensus-proto/archive/v0.3.0.tar.gz", |
|
], |
|
) |
|
|
|
if "com_envoyproxy_protoc_gen_validate" not in native.existing_rules(): |
|
http_archive( |
|
name = "com_envoyproxy_protoc_gen_validate", |
|
strip_prefix = "protoc-gen-validate-4694024279bdac52b77e22dc87808bd0fd732b69", |
|
sha256 = "1e490b98005664d149b379a9529a6aa05932b8a11b76b4cd86f3d22d76346f47", |
|
urls = [ |
|
"https://github.com/envoyproxy/protoc-gen-validate/archive/4694024279bdac52b77e22dc87808bd0fd732b69.tar.gz", |
|
], |
|
patches = ["@com_github_grpc_grpc//third_party:protoc-gen-validate.patch"], |
|
patch_args = ["-p1"], |
|
) |
|
|
|
if "com_github_cncf_udpa" not in native.existing_rules(): |
|
http_archive( |
|
name = "com_github_cncf_udpa", |
|
sha256 = "5bc8365613fe2f8ce6cc33959b7667b13b7fe56cb9d16ba740c06e1a7c4242fc", |
|
strip_prefix = "xds-cb28da3451f158a947dfc45090fe92b07b243bc1", |
|
urls = [ |
|
"https://storage.googleapis.com/grpc-bazel-mirror/github.com/cncf/xds/archive/cb28da3451f158a947dfc45090fe92b07b243bc1.tar.gz", |
|
"https://github.com/cncf/xds/archive/cb28da3451f158a947dfc45090fe92b07b243bc1.tar.gz", |
|
], |
|
) |
|
|
|
grpc_python_deps() |
|
|
|
# TODO: move some dependencies from "grpc_deps" here? |
|
# buildifier: disable=unnamed-macro |
|
def grpc_test_only_deps(): |
|
"""Internal, not intended for use by packages that are consuming grpc. |
|
|
|
Loads dependencies that are only needed to run grpc library's tests. |
|
""" |
|
native.bind( |
|
name = "twisted", |
|
actual = "@com_github_twisted_twisted//:twisted", |
|
) |
|
|
|
native.bind( |
|
name = "yaml", |
|
actual = "@com_github_yaml_pyyaml//:yaml", |
|
) |
|
|
|
if "com_github_twisted_twisted" not in native.existing_rules(): |
|
http_archive( |
|
name = "com_github_twisted_twisted", |
|
sha256 = "ca17699d0d62eafc5c28daf2c7d0a18e62ae77b4137300b6c7d7868b39b06139", |
|
strip_prefix = "twisted-twisted-17.5.0", |
|
urls = [ |
|
"https://storage.googleapis.com/grpc-bazel-mirror/github.com/twisted/twisted/archive/twisted-17.5.0.zip", |
|
"https://github.com/twisted/twisted/archive/twisted-17.5.0.zip", |
|
], |
|
build_file = "@com_github_grpc_grpc//third_party:twisted.BUILD", |
|
) |
|
|
|
if "com_github_yaml_pyyaml" not in native.existing_rules(): |
|
http_archive( |
|
name = "com_github_yaml_pyyaml", |
|
sha256 = "6b4314b1b2051ddb9d4fcd1634e1fa9c1bb4012954273c9ff3ef689f6ec6c93e", |
|
strip_prefix = "pyyaml-3.12", |
|
urls = [ |
|
"https://storage.googleapis.com/grpc-bazel-mirror/github.com/yaml/pyyaml/archive/3.12.zip", |
|
"https://github.com/yaml/pyyaml/archive/3.12.zip", |
|
], |
|
build_file = "@com_github_grpc_grpc//third_party:yaml.BUILD", |
|
) |
|
|
|
if "com_github_twisted_incremental" not in native.existing_rules(): |
|
http_archive( |
|
name = "com_github_twisted_incremental", |
|
sha256 = "f0ca93359ee70243ff7fbf2d904a6291810bd88cb80ed4aca6fa77f318a41a36", |
|
strip_prefix = "incremental-incremental-17.5.0", |
|
urls = [ |
|
"https://storage.googleapis.com/grpc-bazel-mirror/github.com/twisted/incremental/archive/incremental-17.5.0.zip", |
|
"https://github.com/twisted/incremental/archive/incremental-17.5.0.zip", |
|
], |
|
build_file = "@com_github_grpc_grpc//third_party:incremental.BUILD", |
|
) |
|
|
|
if "com_github_zopefoundation_zope_interface" not in native.existing_rules(): |
|
http_archive( |
|
name = "com_github_zopefoundation_zope_interface", |
|
sha256 = "e9579fc6149294339897be3aa9ecd8a29217c0b013fe6f44fcdae00e3204198a", |
|
strip_prefix = "zope.interface-4.4.3", |
|
urls = [ |
|
"https://storage.googleapis.com/grpc-bazel-mirror/github.com/zopefoundation/zope.interface/archive/4.4.3.zip", |
|
"https://github.com/zopefoundation/zope.interface/archive/4.4.3.zip", |
|
], |
|
build_file = "@com_github_grpc_grpc//third_party:zope_interface.BUILD", |
|
) |
|
|
|
if "com_github_twisted_constantly" not in native.existing_rules(): |
|
http_archive( |
|
name = "com_github_twisted_constantly", |
|
sha256 = "2702cd322161a579d2c0dbf94af4e57712eedc7bd7bbbdc554a230544f7d346c", |
|
strip_prefix = "constantly-15.1.0", |
|
urls = [ |
|
"https://storage.googleapis.com/grpc-bazel-mirror/github.com/twisted/constantly/archive/15.1.0.zip", |
|
"https://github.com/twisted/constantly/archive/15.1.0.zip", |
|
], |
|
build_file = "@com_github_grpc_grpc//third_party:constantly.BUILD", |
|
) |
|
|
|
if "com_google_libprotobuf_mutator" not in native.existing_rules(): |
|
http_archive( |
|
name = "com_google_libprotobuf_mutator", |
|
sha256 = "b847c71723d8ce0b747aa661d7f3a07f1d16c595bf9c0202f30febc2f9a24a06", |
|
urls = [ |
|
"https://github.com/google/libprotobuf-mutator/archive/ffd86a32874e5c08a143019aad1aaf0907294c9f.tar.gz", |
|
"https://storage.googleapis.com/grpc-bazel-mirror/github.com/google/libprotobuf-mutator/archive/ffd86a32874e5c08a143019aad1aaf0907294c9f.tar.gz", |
|
], |
|
strip_prefix = "libprotobuf-mutator-ffd86a32874e5c08a143019aad1aaf0907294c9f", |
|
build_file = "@com_github_grpc_grpc//third_party:libprotobuf_mutator.BUILD", |
|
)
|
|
|