summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2016-11-08 22:35:59 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2016-11-08 22:35:59 +0000
commitc1c4c171a2a8ff9912650e8278219723cf9ae2ea (patch)
tree5a3522720500f8c0c10c3a49bb9d195f89a22cea
parent7b2d5df8151c1742c12a29f0759e0100aa9d2a54 (diff)
parentb0dca834fc722f02977877efc08cb54f51949625 (diff)
downloadzlib-c1c4c171a2a8ff9912650e8278219723cf9ae2ea.tar.gz
Merge "Don't ship updated zlib headers in the NDK."
-rw-r--r--Android.bp31
1 files changed, 20 insertions, 11 deletions
diff --git a/Android.bp b/Android.bp
index 47e6f6b..da01daf 100644
--- a/Android.bp
+++ b/Android.bp
@@ -80,17 +80,26 @@ cc_binary_host {
stl: "none",
}
-ndk_headers {
- name: "libz_headers",
- from: "src",
- to: "",
- srcs: [
- "src/zconf.h",
- "src/zlib.h",
- "src/zutil.h",
- ],
- license: "NOTICE",
-}
+// This module is defined in development/ndk/Android.bp. Updating these headers
+// to be usable for any API level is going to be some work (at the very least,
+// there's a ZLIB_VERNUM that will need to be handled since early versions of
+// Android did not have all the APIs that calling code will use if this is set
+// to the current value.
+//
+// The NDK never updated the zlib headers when the platform updated, so until we
+// solve this the NDK will continue shipping the old headers.
+//
+// ndk_headers {
+// name: "libz_headers",
+// from: "src",
+// to: "",
+// srcs: [
+// "src/zconf.h",
+// "src/zlib.h",
+// "src/zutil.h",
+// ],
+// license: "NOTICE",
+// }
ndk_library {
name: "libz.ndk",