Imported Upstream version 1.27.0
[platform/upstream/grpc.git] / third_party / upb / bazel / workspace_deps.bzl
1 load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
2 load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
3 load("//bazel:repository_defs.bzl", "bazel_version_repository")
4
5 def upb_deps():
6     bazel_version_repository(
7         name = "upb_bazel_version",
8     )
9
10     git_repository(
11         name = "com_google_absl",
12         commit = "070f6e47b33a2909d039e620c873204f78809492",
13         remote = "https://github.com/abseil/abseil-cpp.git",
14         shallow_since = "1541627663 -0500",
15     )
16
17     git_repository(
18         name = "com_google_protobuf",
19         remote = "https://github.com/protocolbuffers/protobuf.git",
20         commit = "d41002663fd04325ead28439dfd5ce2822b0d6fb",
21     )
22
23     http_archive(
24         name = "bazel_skylib",
25         strip_prefix = "bazel-skylib-master",
26         urls = ["https://github.com/bazelbuild/bazel-skylib/archive/master.tar.gz"],
27     )
28
29     http_archive(
30         name = "zlib",
31         build_file = "@com_google_protobuf//:third_party/zlib.BUILD",
32         sha256 = "629380c90a77b964d896ed37163f5c3a34f6e6d897311f1df2a7016355c45eff",
33         strip_prefix = "zlib-1.2.11",
34         url = "https://github.com/madler/zlib/archive/v1.2.11.tar.gz",
35     )