summaryrefslogtreecommitdiffstats
path: root/otautil
diff options
context:
space:
mode:
authorHumberto Borba <humberos@gmail.com>2018-01-11 20:01:53 +0100
committerHumberto Borba <humberos@gmail.com>2018-01-11 20:06:03 +0100
commit3cacbfd6405d7a5dcf1e34b4c8628908ce2ff9d5 (patch)
treecf4c5c751a0e5ca00d1408ea36e93503751e5b2d /otautil
parentUse libdrm_platform for minuitwrp in 8.x trees (diff)
downloadandroid_bootable_recovery-3cacbfd6405d7a5dcf1e34b4c8628908ce2ff9d5.tar
android_bootable_recovery-3cacbfd6405d7a5dcf1e34b4c8628908ce2ff9d5.tar.gz
android_bootable_recovery-3cacbfd6405d7a5dcf1e34b4c8628908ce2ff9d5.tar.bz2
android_bootable_recovery-3cacbfd6405d7a5dcf1e34b4c8628908ce2ff9d5.tar.lz
android_bootable_recovery-3cacbfd6405d7a5dcf1e34b4c8628908ce2ff9d5.tar.xz
android_bootable_recovery-3cacbfd6405d7a5dcf1e34b4c8628908ce2ff9d5.tar.zst
android_bootable_recovery-3cacbfd6405d7a5dcf1e34b4c8628908ce2ff9d5.zip
Diffstat (limited to 'otautil')
-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 \