summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Baker-Malone <jbakermalone@google.com>2019-06-18 16:23:25 -0700
committerJoe Baker-Malone <jbakermalone@google.com>2019-06-18 16:45:06 -0700
commitbb9b93416fa3c07a292bf154086b30c8e6c66888 (patch)
treea4964424a57a3ae1d88f566e1226e6512c4af6a5
parentfe575681062f5ae57b26535126b5d56ba4c577b2 (diff)
downloadzlib-bb9b93416fa3c07a292bf154086b30c8e6c66888.tar.gz
export zlib.h
Otherwise places (like libpng) that include it via #include "zlib.h" (rather than using <>) break, since they try to include the one in the root even though "includes" only includes src/. Test: none Bug: none Change-Id: Idf6dd1f1bbb1004c95b7710056ef7d63facd73a8
-rw-r--r--BUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/BUILD b/BUILD
index 2320e53..d32ec64 100644
--- a/BUILD
+++ b/BUILD
@@ -1,6 +1,9 @@
licenses(["notice"])
-exports_files(["NOTICE"])
+exports_files([
+ "NOTICE",
+ "zlib.h",
+])
genrule(
name = "copy_zconf",
@@ -46,7 +49,7 @@ cc_library(
"-Wno-implicit-function-declaration",
],
includes = [
- "src"
+ "src",
],
visibility = ["//visibility:public"],
)