43 lines
920 B (Stored with Git LFS)
Text
43 lines
920 B (Stored with Git LFS)
Text
package(default_visibility = ["//visibility:public"])
|
|
|
|
licenses(["notice"]) # BSD/MIT-like license (for zlib)
|
|
|
|
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 = select({
|
|
"@org_tensorflow//tensorflow:windows": [],
|
|
"//conditions:default": [
|
|
"-Wno-shift-negative-value",
|
|
"-DZ_HAVE_UNISTD_H",
|
|
],
|
|
}),
|
|
includes = ["."],
|
|
)
|