summaryrefslogtreecommitdiffstats
path: root/cmds/bootanimation/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'cmds/bootanimation/Android.mk')
-rw-r--r--cmds/bootanimation/Android.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/cmds/bootanimation/Android.mk b/cmds/bootanimation/Android.mk
index 7d39912..7f1857d 100644
--- a/cmds/bootanimation/Android.mk
+++ b/cmds/bootanimation/Android.mk
@@ -20,6 +20,18 @@ LOCAL_SHARED_LIBRARIES := \
LOCAL_C_INCLUDES := \
$(call include-path-for, corecg graphics)
+ifeq ($(TARGET_BOOTANIMATION_PRELOAD),true)
+ LOCAL_CFLAGS += -DPRELOAD_BOOTANIMATION
+endif
+
+ifeq ($(TARGET_BOOTANIMATION_TEXTURE_CACHE),true)
+ LOCAL_CFLAGS += -DNO_TEXTURE_CACHE=0
+endif
+
+ifeq ($(TARGET_BOOTANIMATION_TEXTURE_CACHE),false)
+ LOCAL_CFLAGS += -DNO_TEXTURE_CACHE=1
+endif
+
LOCAL_MODULE:= bootanimation