Update zlib dependency
This commit is contained in:
parent
1ddaafd677
commit
79f7abb45e
2
BUILD
2
BUILD
|
|
@ -1030,7 +1030,7 @@ grpc_cc_library(
|
|||
"src/core/lib/uri/uri_parser.h",
|
||||
],
|
||||
external_deps = [
|
||||
"zlib",
|
||||
"madler_zlib",
|
||||
],
|
||||
language = "c++",
|
||||
public_hdrs = GRPC_PUBLIC_HDRS,
|
||||
|
|
|
|||
|
|
@ -32,8 +32,8 @@ def grpc_deps():
|
|||
)
|
||||
|
||||
native.bind(
|
||||
name = "zlib",
|
||||
actual = "@com_github_madler_zlib//:z",
|
||||
name = "madler_zlib",
|
||||
actual = "@zlib//:zlib",
|
||||
)
|
||||
|
||||
native.bind(
|
||||
|
|
@ -115,9 +115,9 @@ def grpc_deps():
|
|||
url = "https://boringssl.googlesource.com/boringssl/+archive/afc30d43eef92979b05776ec0963c9cede5fb80f.tar.gz",
|
||||
)
|
||||
|
||||
if "com_github_madler_zlib" not in native.existing_rules():
|
||||
if "zlib" not in native.existing_rules():
|
||||
http_archive(
|
||||
name = "com_github_madler_zlib",
|
||||
name = "zlib",
|
||||
build_file = "@com_github_grpc_grpc//third_party:zlib.BUILD",
|
||||
sha256 = "6d4d6640ca3121620995ee255945161821218752b551a1a180f4215f7d124d45",
|
||||
strip_prefix = "zlib-cacf7f1d4e3d44d871b605da3b647f07d718623f",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
cc_library(
|
||||
name = "z",
|
||||
name = "zlib",
|
||||
srcs = [
|
||||
"adler32.c",
|
||||
"compress.c",
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ _TWISTED_CONSTANTLY_DEP_NAME = 'com_github_twisted_constantly'
|
|||
_GRPC_DEP_NAMES = [
|
||||
'upb',
|
||||
'boringssl',
|
||||
'com_github_madler_zlib',
|
||||
'zlib',
|
||||
'com_google_protobuf',
|
||||
'com_github_google_googletest',
|
||||
'com_github_gflags_gflags',
|
||||
|
|
|
|||
Loading…
Reference in New Issue