forked from OSchip/llvm-project
47 lines
1018 B
Plaintext
47 lines
1018 B
Plaintext
# This file is licensed under the Apache License v2.0 with LLVM Exceptions.
|
|
# See https://llvm.org/LICENSE.txt for license information.
|
|
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
|
|
package(
|
|
default_visibility = ["//visibility:public"],
|
|
# BSD/MIT-like license (for zlib)
|
|
licenses = ["notice"],
|
|
)
|
|
|
|
cc_library(
|
|
name = "zlib",
|
|
srcs = [
|
|
"adler32.c",
|
|
"compress.c",
|
|
"crc32.c",
|
|
"crc32.h",
|
|
"deflate.c",
|
|
"deflate.h",
|
|
"gzclose.c",
|
|
"gzguts.h",
|
|
"gzlib.c",
|
|
"gzread.c",
|
|
"gzwrite.c",
|
|
"infback.c",
|
|
"inffast.c",
|
|
"inffast.h",
|
|
"inffixed.h",
|
|
"inflate.c",
|
|
"inflate.h",
|
|
"inftrees.c",
|
|
"inftrees.h",
|
|
"trees.c",
|
|
"trees.h",
|
|
"uncompr.c",
|
|
"zconf.h",
|
|
"zutil.c",
|
|
"zutil.h",
|
|
],
|
|
hdrs = ["zlib.h"],
|
|
copts = [
|
|
"-Wno-shift-negative-value",
|
|
"-DZ_HAVE_UNISTD_H",
|
|
],
|
|
includes = ["."],
|
|
)
|