Skip to content

Commit 79f7abb

Browse files
author
Hao Nguyen
committed
Update zlib dependency
1 parent 1ddaafd commit 79f7abb

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

BUILD

+1-1
Original file line numberDiff line numberDiff line change
@@ -1030,7 +1030,7 @@ grpc_cc_library(
10301030
"src/core/lib/uri/uri_parser.h",
10311031
],
10321032
external_deps = [
1033-
"zlib",
1033+
"madler_zlib",
10341034
],
10351035
language = "c++",
10361036
public_hdrs = GRPC_PUBLIC_HDRS,

bazel/grpc_deps.bzl

+4-4
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ def grpc_deps():
3232
)
3333

3434
native.bind(
35-
name = "zlib",
36-
actual = "@com_github_madler_zlib//:z",
35+
name = "madler_zlib",
36+
actual = "@zlib//:zlib",
3737
)
3838

3939
native.bind(
@@ -115,9 +115,9 @@ def grpc_deps():
115115
url = "https://boringssl.googlesource.com/boringssl/+archive/afc30d43eef92979b05776ec0963c9cede5fb80f.tar.gz",
116116
)
117117

118-
if "com_github_madler_zlib" not in native.existing_rules():
118+
if "zlib" not in native.existing_rules():
119119
http_archive(
120-
name = "com_github_madler_zlib",
120+
name = "zlib",
121121
build_file = "@com_github_grpc_grpc//third_party:zlib.BUILD",
122122
sha256 = "6d4d6640ca3121620995ee255945161821218752b551a1a180f4215f7d124d45",
123123
strip_prefix = "zlib-cacf7f1d4e3d44d871b605da3b647f07d718623f",

third_party/zlib.BUILD

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
cc_library(
2-
name = "z",
2+
name = "zlib",
33
srcs = [
44
"adler32.c",
55
"compress.c",

tools/run_tests/sanity/check_bazel_workspace.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
_GRPC_DEP_NAMES = [
4646
'upb',
4747
'boringssl',
48-
'com_github_madler_zlib',
48+
'zlib',
4949
'com_google_protobuf',
5050
'com_github_google_googletest',
5151
'com_github_gflags_gflags',

0 commit comments

Comments
 (0)