Use PRODUCT_BOOTANIMATION instead of COPY_FILES
Change-Id: I10f6db5687ba2a3724a00b94bc7592dbd6405b82
diff --git a/config/common.mk b/config/common.mk
index a204f9b..996a963 100644
--- a/config/common.mk
+++ b/config/common.mk
@@ -46,8 +46,7 @@
endef
$(foreach size,$(bootanimation_sizes), $(call check_and_set_bootanimation,$(size)))
-PRODUCT_COPY_FILES += \
- vendor/cm/prebuilt/common/bootanimation/$(TARGET_BOOTANIMATION_NAME).zip:system/media/bootanimation.zip
+PRODUCT_BOOTANIMATION := vendor/cm/prebuilt/common/bootanimation/$(TARGET_BOOTANIMATION_NAME).zip
endif
ifdef CM_NIGHTLY