summaryrefslogtreecommitdiffstats
path: root/minuitwrp/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'minuitwrp/Android.mk')
-rw-r--r--minuitwrp/Android.mk12
1 files changed, 10 insertions, 2 deletions
diff --git a/minuitwrp/Android.mk b/minuitwrp/Android.mk
index ba81f2723..bc4e054b3 100644
--- a/minuitwrp/Android.mk
+++ b/minuitwrp/Android.mk
@@ -107,8 +107,16 @@ ifneq ($(TW_WHITELIST_INPUT),)
LOCAL_CFLAGS += -DWHITELIST_INPUT=$(TW_WHITELIST_INPUT)
endif
-LOCAL_SHARED_LIBRARIES += libz libc libcutils libjpeg
-LOCAL_STATIC_LIBRARIES += libpng libpixelflinger_static
+ifeq ($(TW_DISABLE_TTF), true)
+ LOCAL_CFLAGS += -DTW_DISABLE_TTF
+else
+ LOCAL_SHARED_LIBRARIES += libft2
+ LOCAL_C_INCLUDES += external/freetype/include
+ LOCAL_SRC_FILES += truetype.c
+endif
+
+LOCAL_SHARED_LIBRARIES += libz libc libcutils libjpeg libpng
+LOCAL_STATIC_LIBRARIES += libpixelflinger_static
LOCAL_MODULE_TAGS := eng
LOCAL_MODULE := libminuitwrp