summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbig biff <bigbiff@teamw.in>2018-03-16 00:02:47 +0100
committerGerrit Code Review <gerrit2@gerrit.omnirom.org>2018-03-16 00:02:47 +0100
commit6d9746b0e552fdd32ebaf77c582c805d47f0566f (patch)
tree7ff6df7ecf513333a5a7ce21b9e4c9d8f2fd2856
parentDon't rename twrp.fstab to recovery.fstab (diff)
parentlibotautil: Add missed header (diff)
downloadandroid_bootable_recovery-6d9746b0e552fdd32ebaf77c582c805d47f0566f.tar
android_bootable_recovery-6d9746b0e552fdd32ebaf77c582c805d47f0566f.tar.gz
android_bootable_recovery-6d9746b0e552fdd32ebaf77c582c805d47f0566f.tar.bz2
android_bootable_recovery-6d9746b0e552fdd32ebaf77c582c805d47f0566f.tar.lz
android_bootable_recovery-6d9746b0e552fdd32ebaf77c582c805d47f0566f.tar.xz
android_bootable_recovery-6d9746b0e552fdd32ebaf77c582c805d47f0566f.tar.zst
android_bootable_recovery-6d9746b0e552fdd32ebaf77c582c805d47f0566f.zip
-rw-r--r--otautil/Android.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/otautil/Android.mk b/otautil/Android.mk
index f7ca9a9ee..45e0f765d 100644
--- a/otautil/Android.mk
+++ b/otautil/Android.mk
@@ -25,6 +25,12 @@ LOCAL_STATIC_LIBRARIES := \
libselinux \
libbase
+ifeq ($(shell test $(PLATFORM_SDK_VERSION) -gt 26; echo $$?),0)
+# Android 8.1 header
+LOCAL_C_INCLUDES += \
+ system/core/libziparchive/include
+endif
+
LOCAL_MODULE := libotautil
LOCAL_CFLAGS := \
-Werror \