summaryrefslogtreecommitdiffstats
path: root/minui/Android.mk
diff options
context:
space:
mode:
authorDees Troy <dees_troy@teamw.in>2017-06-10 15:52:31 +0200
committerGerrit Code Review <gerrit2@gerrit.omnirom.org>2017-06-10 15:52:31 +0200
commit92e2531dca068bdb403b137f5699a92e512085c4 (patch)
tree9eb77f9e2a86b4ff0cccc459b3b6b3384e670500 /minui/Android.mk
parentMerge "ors: Update doc" into android-7.1 (diff)
parentFix minui issues for some build trees (diff)
downloadandroid_bootable_recovery-92e2531dca068bdb403b137f5699a92e512085c4.tar
android_bootable_recovery-92e2531dca068bdb403b137f5699a92e512085c4.tar.gz
android_bootable_recovery-92e2531dca068bdb403b137f5699a92e512085c4.tar.bz2
android_bootable_recovery-92e2531dca068bdb403b137f5699a92e512085c4.tar.lz
android_bootable_recovery-92e2531dca068bdb403b137f5699a92e512085c4.tar.xz
android_bootable_recovery-92e2531dca068bdb403b137f5699a92e512085c4.tar.zst
android_bootable_recovery-92e2531dca068bdb403b137f5699a92e512085c4.zip
Diffstat (limited to 'minui/Android.mk')
-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)