aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/zlib.BUILD
diff options
context:
space:
mode:
authorGravatar Justine Tunney <jart@google.com>2016-12-29 00:24:58 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-12-29 00:51:20 -0800
commite28db9fced14d1ae16b20773544f57e382b9983e (patch)
tree84126c51638f04f7098c1f4181b88f6364fa4463 /third_party/zlib.BUILD
parenta1a3b0c6c3abe0df0c8e017d9f134db4731484b9 (diff)
Move most foo.BUILD files into third_party
This frees up space on the TensorFlow GitHub home page! Change: 143161497
Diffstat (limited to 'third_party/zlib.BUILD')
-rw-r--r--third_party/zlib.BUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/third_party/zlib.BUILD b/third_party/zlib.BUILD
new file mode 100644
index 0000000000..279e6395b0
--- /dev/null
+++ b/third_party/zlib.BUILD
@@ -0,0 +1,40 @@
+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 = [
+ "-Wno-shift-negative-value",
+ "-Wno-implicit-function-declaration",
+ ],
+ includes = ["."],
+)