blob: c859eda613a5bdc5338cc824e43ca6e2f6d7405c [file] [log] [blame]
Austin Schuh86110712022-09-16 15:40:54 -07001licenses(["notice"]) # BSD/MIT-like license
2
3cc_library(
4 name = "zlib",
5 srcs = glob(["*.c"]),
6 hdrs = glob(["*.h"]),
7 # Use -Dverbose=-1 to turn off zlib's trace logging.
8 copts = [
9 "-w",
10 "-Dverbose=-1",
Austin Schuh50e3dca2023-07-23 14:34:27 -070011 "-Wno-unused-but-set-variable",
12 "-Wno-implicit-function-declaration",
Austin Schuh86110712022-09-16 15:40:54 -070013 ],
14 includes = [
15 ".",
16 ],
17 visibility = ["//visibility:public"],
18)
19
20alias(
21 name = "z",
22 actual = ":zlib",
23 visibility = ["//visibility:public"],
24)