aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/zlib.BUILD
diff options
context:
space:
mode:
authorGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2016-10-20 09:29:46 +0200
committerGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2016-10-20 09:29:46 +0200
commit31d11dbfb8db0fc39da64be9c094e2900e9aedfb (patch)
tree4fce6ab0f51f421430bd82bf1e089b2293fd0d19 /third_party/zlib.BUILD
parent70ee74c4798afe781788d40afe1923feff37d657 (diff)
Starting this from scratch
-) Basic workspace -) Basic BUILD file with macros
Diffstat (limited to 'third_party/zlib.BUILD')
-rw-r--r--third_party/zlib.BUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/third_party/zlib.BUILD b/third_party/zlib.BUILD
new file mode 100644
index 0000000000..323c2868a8
--- /dev/null
+++ b/third_party/zlib.BUILD
@@ -0,0 +1,37 @@
+cc_library(
+ name = "z",
+ linkstatic = 1,
+ srcs = [
+ 'adler32.c',
+ 'compress.c',
+ 'crc32.c',
+ 'deflate.c',
+ 'infback.c',
+ 'inffast.c',
+ 'inflate.c',
+ 'inftrees.c',
+ 'trees.c',
+ 'uncompr.c',
+ 'zutil.c',
+ ],
+ hdrs = [
+ 'crc32.h',
+ 'deflate.h',
+ 'gzguts.h',
+ 'inffast.h',
+ 'inffixed.h',
+ 'inflate.h',
+ 'inftrees.h',
+ 'trees.h',
+ 'zconf.h',
+ 'zlib.h',
+ 'zutil.h',
+ ],
+ includes = [
+ 'include',
+ ],
+ visibility = [
+ "//visibility:public",
+ ],
+)
+