summaryrefslogtreecommitdiffstats
path: root/minui/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--minui/Android.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/minui/Android.mk b/minui/Android.mk
index 34bf5f5bb..249feeb0e 100644
--- a/minui/Android.mk
+++ b/minui/Android.mk
@@ -79,8 +79,9 @@ endif
ifneq ($(BOARD_USE_CUSTOM_RECOVERY_FONT),)
LOCAL_CFLAGS += -DBOARD_USE_CUSTOM_RECOVERY_FONT=$(BOARD_USE_CUSTOM_RECOVERY_FONT)
endif
-ifneq ($(wildcard system/core/healthd/animation.h),)
- LOCAL_CFLAGS += -DTW_USE_MINUI_CUSTOM_FONTS
+ifeq ($(wildcard system/core/healthd/animation.h),)
+ TARGET_GLOBAL_CFLAGS += -DTW_NO_MINUI_CUSTOM_FONTS
+ CLANG_TARGET_GLOBAL_CFLAGS += -DTW_NO_MINUI_CUSTOM_FONTS
endif
include $(BUILD_STATIC_LIBRARY)