Just add PRODUCT_BOOTANIMATION in your product
makefiles and point it to the zip file you would
like to have used as the boot animation.
The coresponsing build system handles picking
the last one, which is the last product to set this.
Change-Id: I8c95a515a8fbb92d363141eb79e254712dccc162
Signed-off-by: William Roberts <wroberts@tresys.com>
Fix for build break when PRODUCT_BOOTANIMATION is unset
Change-Id: I236c2dd35ba0e632ed327ed6dc36324c9e59587a
Restore original behavior when PRODUCT_BOOTANIMATION is undefined
Change-Id: I3ee7141f7c26cee033b8a30824caf38fcacec5a8
#
_product_var_list := \
+ PRODUCT_BOOTANIMATION \
PRODUCT_BUILD_PROP_OVERRIDES \
PRODUCT_NAME \
PRODUCT_MODEL \
# The optional :<owner> is used to indicate the owner of a vendor file.
PRODUCT_COPY_FILES := \
$(strip $(PRODUCTS.$(INTERNAL_PRODUCT).PRODUCT_COPY_FILES))
+_boot_animation := $(strip $(lastword $(PRODUCTS.$(INTERNAL_PRODUCT).PRODUCT_BOOTANIMATION)))
+ifneq ($(_boot_animation),)
+PRODUCT_COPY_FILES += \
+ $(_boot_animation):system/media/bootanimation.zip
+endif
+_boot_animation :=
# A list of property assignments, like "key = value", with zero or more
# whitespace characters on either side of the '='.