diff options
author | Ethan Yonker <dees_troy@teamw.in> | 2014-08-07 16:28:04 +0200 |
---|---|---|
committer | Ethan Yonker <dees_troy@teamw.in> | 2014-08-07 16:28:04 +0200 |
commit | b24caab14cffc2062359431a05f8d618ad76cd7a (patch) | |
tree | 4e3b8b6d4fe4f59740b17d94af7210dcf6d81c34 | |
parent | removing logging test file (diff) | |
download | android_bootable_recovery-b24caab14cffc2062359431a05f8d618ad76cd7a.tar android_bootable_recovery-b24caab14cffc2062359431a05f8d618ad76cd7a.tar.gz android_bootable_recovery-b24caab14cffc2062359431a05f8d618ad76cd7a.tar.bz2 android_bootable_recovery-b24caab14cffc2062359431a05f8d618ad76cd7a.tar.lz android_bootable_recovery-b24caab14cffc2062359431a05f8d618ad76cd7a.tar.xz android_bootable_recovery-b24caab14cffc2062359431a05f8d618ad76cd7a.tar.zst android_bootable_recovery-b24caab14cffc2062359431a05f8d618ad76cd7a.zip |
-rw-r--r-- | minuitwrp/Android.mk | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/minuitwrp/Android.mk b/minuitwrp/Android.mk index 3c148eacb..d953ce719 100644 --- a/minuitwrp/Android.mk +++ b/minuitwrp/Android.mk @@ -80,6 +80,20 @@ endif ifneq ($(BOARD_USE_CUSTOM_RECOVERY_FONT),) LOCAL_CFLAGS += -DBOARD_USE_CUSTOM_RECOVERY_FONT=$(BOARD_USE_CUSTOM_RECOVERY_FONT) +else + FONT_7x16 := 240x240 280x280 320x320 320x480 + ROBOTO_10x18 := 480x800 480x854 540x960 800x480 1024x600 1024x768 1280x800 + ROBOTO_15x24 := 720x1280 800x1280 + ROBOTO_23x41 := 1080x1920 1200x1920 1440x2560 1600x2560 1920x1200 2560x1600 + ifneq ($(filter $(DEVICE_RESOLUTION), $(FONT_7x16)),) + LOCAL_CFLAGS += -DBOARD_USE_CUSTOM_RECOVERY_FONT=\"font_7x16.h\" + else ifneq ($(filter $(DEVICE_RESOLUTION), $(ROBOTO_10x18)),) + LOCAL_CFLAGS += -DBOARD_USE_CUSTOM_RECOVERY_FONT=\"roboto_10x18.h\" + else ifneq ($(filter $(DEVICE_RESOLUTION), $(ROBOTO_15x24)),) + LOCAL_CFLAGS += -DBOARD_USE_CUSTOM_RECOVERY_FONT=\"roboto_15x24.h\" + else ifneq ($(filter $(DEVICE_RESOLUTION), $(ROBOTO_23x41)),) + LOCAL_CFLAGS += -DBOARD_USE_CUSTOM_RECOVERY_FONT=\"roboto_23x41.h\" + endif endif ifneq ($(TW_WHITELIST_INPUT),) |