summaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2016-12-19 13:29:53 -0800
committerTao Bao <tbao@google.com>2017-01-18 23:30:04 -0800
commit5604decc7d3b63c3b1e95adc3e30f3a7c5d2fa89 (patch)
tree1035497c66ba8e82dd6a60413b3beb8a874aac60 /Android.bp
parent540b6fc70bf46713661ee59ce0e66b17d66f2922 (diff)
downloadzlib-5604decc7d3b63c3b1e95adc3e30f3a7c5d2fa89.tar.gz
Define ZLIB_CONST to add constness.
The next_in and msg fields in z_stream will become pointers to const data. Test: m checkbuild Change-Id: I4383eb2387eb1ab423591a2d1a4f4470b540f835
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 9d1dde1..c079c3b 100644
--- a/Android.bp
+++ b/Android.bp
@@ -4,6 +4,7 @@ cc_defaults {
cflags: [
"-O3",
"-DUSE_MMAP",
+ "-DZLIB_CONST",
],
stl: "none",
export_include_dirs: ["."],