summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2016-11-08 22:58:01 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-11-08 22:58:01 +0000
commitf0f35e3df0c0ed2ce67feb1cdae9c41f884118c4 (patch)
tree5a3522720500f8c0c10c3a49bb9d195f89a22cea
parent16e9b8a9de00597fd4ceca1750efde25421ddb85 (diff)
parent5a25fe21f0da174081160cd919ab44d8e0ce1260 (diff)
downloadzlib-f0f35e3df0c0ed2ce67feb1cdae9c41f884118c4.tar.gz
Merge "Don't ship updated zlib headers in the NDK." am: c1c4c171a2
am: 5a25fe21f0 Change-Id: I207301dfda00d15452ca658cd753382776721594
-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",