diff options
author | William Roberts <wroberts@tresys.com> | 2013-08-20 16:02:53 -0700 |
---|---|---|
committer | Adnan Begovic <adnan@cyngn.com> | 2015-10-06 16:26:35 -0700 |
commit | 2c7341c5dd7c36c231ca18d927111cf5e2da57c1 (patch) | |
tree | 4eff73743413eec9852c6203c7a459cc688115db /core/product_config.mk | |
parent | 3bc5cfd0c1629da7b44ce25fa8039870d4a05413 (diff) | |
download | build-2c7341c5dd7c36c231ca18d927111cf5e2da57c1.zip build-2c7341c5dd7c36c231ca18d927111cf5e2da57c1.tar.gz build-2c7341c5dd7c36c231ca18d927111cf5e2da57c1.tar.bz2 |
Add PRODUCT_BOOTANIMATION
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
Diffstat (limited to 'core/product_config.mk')
-rw-r--r-- | core/product_config.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/product_config.mk b/core/product_config.mk index 1cafc89..58437e9 100644 --- a/core/product_config.mk +++ b/core/product_config.mk @@ -342,6 +342,12 @@ endif # 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 '='. |