@@ -25,71 +25,6 @@ def absl_repositories(bind = True):
2525 urls = ["https://github.com/abseil/abseil-cpp/archive/c2435f8342c2d0ed8101cb43adfd605fdc52dca2.zip" ],
2626 )
2727
28- def zlib_repositories (bind = True ):
29- BUILD = """
30- # Copyright 2016 Google Inc. All Rights Reserved.
31- #
32- # Licensed under the Apache License, Version 2.0 (the "License");
33- # you may not use this file except in compliance with the License.
34- # You may obtain a copy of the License at
35- #
36- # http://www.apache.org/licenses/LICENSE-2.0
37- #
38- # Unless required by applicable law or agreed to in writing, software
39- # distributed under the License is distributed on an "AS IS" BASIS,
40- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
41- # See the License for the specific language governing permissions and
42- # limitations under the License.
43- #
44- ################################################################################
45- #
46- licenses(["notice"])
47- exports_files(["README"])
48- cc_library(
49- name = "zlib",
50- srcs = [
51- "adler32.c",
52- "crc32.c",
53- "crc32.h",
54- "deflate.c",
55- "deflate.h",
56- "infback.c",
57- "inffast.c",
58- "inffast.h",
59- "inffixed.h",
60- "inflate.c",
61- "inflate.h",
62- "inftrees.c",
63- "inftrees.h",
64- "trees.c",
65- "trees.h",
66- "zconf.h",
67- "zutil.c",
68- "zutil.h",
69- ],
70- hdrs = [
71- "zlib.h",
72- ],
73- copts = [
74- "-Wno-shift-negative-value",
75- "-Wno-unknown-warning-option",
76- ],
77- defines = [
78- "Z_SOLO",
79- ],
80- visibility = [
81- "//visibility:public",
82- ],
83- )
84- """
85- http_archive (
86- name = "zlib" ,
87- strip_prefix = "zlib-1.2.11" ,
88- urls = ["https://github.com/madler/zlib/archive/v1.2.11.tar.gz" ],
89- sha256 = "629380c90a77b964d896ed37163f5c3a34f6e6d897311f1df2a7016355c45eff" ,
90- build_file_content = BUILD ,
91- )
92-
9328PROTOBUF_COMMIT = "315ffb5be89460f2857387d20aefc59b76b8bdc3" # May 31, 2023
9429PROTOBUF_SHA256 = "aa61db6ff113a1c76eac9408144c6e996c5e2d6b2410818fd7f1b0d222a50bf8"
9530
0 commit comments