summaryrefslogtreecommitdiffstats
path: root/cmds/bootanimation/Android.mk
diff options
context:
space:
mode:
authorSteve Kondik <shade@chemlab.org>2014-04-01 23:41:42 -0700
committerSteve Kondik <steve@cyngn.com>2015-10-26 16:07:31 -0700
commitc269ed32191643a015056202c42047df9370b5e6 (patch)
tree8732bc9ab1a1877c7aa85776127e393fe5763587 /cmds/bootanimation/Android.mk
parentaa7a82b9454d7821ceb45d96542f08123bbb318c (diff)
downloadframeworks_base-c269ed32191643a015056202c42047df9370b5e6.zip
frameworks_base-c269ed32191643a015056202c42047df9370b5e6.tar.gz
frameworks_base-c269ed32191643a015056202c42047df9370b5e6.tar.bz2
bootanim: Add continuous splash support
* We may or may not want to have a very smooth transition from the bootloader into Android by way of a continuous splash feature. * Add a compile-time flag which disables the initial screen clearing so that we don't drop a frame during the transition. Change-Id: Ic453c901f1030ffebd9bdbeec59109bb5c585629
Diffstat (limited to 'cmds/bootanimation/Android.mk')
-rw-r--r--cmds/bootanimation/Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmds/bootanimation/Android.mk b/cmds/bootanimation/Android.mk
index 2ee586f..cc3b6f8 100644
--- a/cmds/bootanimation/Android.mk
+++ b/cmds/bootanimation/Android.mk
@@ -25,6 +25,10 @@ LOCAL_SHARED_LIBRARIES := \
libgui \
libtinyalsa
+ifeq ($(TARGET_CONTINUOUS_SPLASH_ENABLED),true)
+ LOCAL_CFLAGS += -DCONTINUOUS_SPLASH
+endif
+
LOCAL_MODULE:= bootanimation
ifdef TARGET_32_BIT_SURFACEFLINGER