aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/zlib/BUILD
diff options
context:
space:
mode:
authorGravatar Lukacs T. Berki <lberki@google.com>2016-04-06 15:50:52 +0200
committerGravatar Lukacs T. Berki <lberki@google.com>2016-04-06 15:52:14 +0200
commit653869eab2de21c5d77c68fc67f14d4463244622 (patch)
tree77f3133424ea8c4560ec9aed017df92481188c7c /third_party/zlib/BUILD
parentfd16ed1fac179cb16eafd487d3816bdcbc320e7f (diff)
Add zlib to the third_party directory.
zlib is the only dependency of Bazel that comes from the host system, so let's change that. There isn't much point in using the preinstalled version of a single library while having everything else under third_party/ . Change-Id: I60c129a41ff4a1b532f8b1d6e2508bd6e6b0a755
Diffstat (limited to 'third_party/zlib/BUILD')
-rw-r--r--third_party/zlib/BUILD9
1 files changed, 9 insertions, 0 deletions
diff --git a/third_party/zlib/BUILD b/third_party/zlib/BUILD
new file mode 100644
index 0000000000..5ac0087345
--- /dev/null
+++ b/third_party/zlib/BUILD
@@ -0,0 +1,9 @@
+licenses(["notice"]) # BSD/MIT-like license
+
+cc_library(
+ name = "zlib",
+ srcs = glob(["*.c"]),
+ hdrs = glob(["*.h"]),
+ includes = ["."],
+ visibility = ["//visibility:public"],
+)