summaryrefslogtreecommitdiffstats
path: root/gui/Android.mk
diff options
context:
space:
mode:
authorXing <xing@Xings-iMac.local>2015-11-27 20:19:37 +0100
committerDees Troy <dees_troy@teamw.in>2015-12-23 21:36:41 +0100
commit0af1ac13d16ede841ef6f16c859c24f8f1e3d16f (patch)
tree0dff623b6466f5f2aed2c2bc02bcb12f1448a461 /gui/Android.mk
parentinit: Add new props triggers (diff)
downloadandroid_bootable_recovery-0af1ac13d16ede841ef6f16c859c24f8f1e3d16f.tar
android_bootable_recovery-0af1ac13d16ede841ef6f16c859c24f8f1e3d16f.tar.gz
android_bootable_recovery-0af1ac13d16ede841ef6f16c859c24f8f1e3d16f.tar.bz2
android_bootable_recovery-0af1ac13d16ede841ef6f16c859c24f8f1e3d16f.tar.lz
android_bootable_recovery-0af1ac13d16ede841ef6f16c859c24f8f1e3d16f.tar.xz
android_bootable_recovery-0af1ac13d16ede841ef6f16c859c24f8f1e3d16f.tar.zst
android_bootable_recovery-0af1ac13d16ede841ef6f16c859c24f8f1e3d16f.zip
Diffstat (limited to '')
-rw-r--r--gui/Android.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/gui/Android.mk b/gui/Android.mk
index 84f890ca7..40e0cd936 100644
--- a/gui/Android.mk
+++ b/gui/Android.mk
@@ -70,7 +70,11 @@ ifeq ($(TW_ROUND_SCREEN), true)
LOCAL_CFLAGS += -DTW_ROUND_SCREEN
endif
-LOCAL_C_INCLUDES += bionic external/stlport/stlport system/core/libpixelflinger/include
+LOCAL_C_INCLUDES += bionic system/core/libpixelflinger/include
+ifeq ($(shell test $(PLATFORM_SDK_VERSION) -lt 23; echo $$?),0)
+ LOCAL_C_INCLUDES += external/stlport/stlport
+endif
+
LOCAL_CFLAGS += -DTWRES=\"$(TWRES_PATH)\"
include $(BUILD_STATIC_LIBRARY)