xref: /aosp_15_r20/external/tink/cc/integration/awskms/third_party/zlib.BUILD.bazel (revision e7b1675dde1b92d52ec075b0a92829627f2c52a5)
1package(default_visibility = ["//visibility:public"])
2
3licenses(["notice"])  # BSD/MIT-like license (for zlib)
4
5cc_library(
6    name = "zlib",
7    srcs = [
8        "adler32.c",
9        "compress.c",
10        "crc32.c",
11        "crc32.h",
12        "deflate.c",
13        "deflate.h",
14        "gzclose.c",
15        "gzguts.h",
16        "gzlib.c",
17        "gzread.c",
18        "gzwrite.c",
19        "infback.c",
20        "inffast.c",
21        "inffast.h",
22        "inffixed.h",
23        "inflate.c",
24        "inflate.h",
25        "inftrees.c",
26        "inftrees.h",
27        "trees.c",
28        "trees.h",
29        "uncompr.c",
30        "zconf.h",
31        "zutil.c",
32        "zutil.h",
33    ],
34    hdrs = ["zlib.h"],
35    copts = [
36        "-Wno-shift-negative-value",
37        "-DZ_HAVE_UNISTD_H",
38    ],
39    includes = ["."],
40)
41