Clean up bootanimation makefile.
Thanks to @houst0nn for the filter idea. Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
This commit is contained in:
parent
acceb4e43c
commit
cb73c8acab
|
@ -13,19 +13,7 @@
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
# Add PA bootanimation based on device resolution
|
# Add PA bootanimation based on device resolution
|
||||||
ifeq (pa_maguro,$(TARGET_PRODUCT))
|
ifneq ($(filter pa_mako pa_maguro pa_toro pa_toroplus pa_grouper pa_tilapia,$(TARGET_PRODUCT)),)
|
||||||
PRODUCT_COPY_FILES += \
|
|
||||||
vendor/pa/prebuilt/bootanimation/1280x720.zip:system/media/bootanimation.zip
|
|
||||||
endif
|
|
||||||
ifeq (pa_deb,$(TARGET_PRODUCT))
|
|
||||||
PRODUCT_COPY_FILES += \
|
|
||||||
vendor/pa/prebuilt/bootanimation/1920x1200.zip:system/media/bootanimation.zip
|
|
||||||
endif
|
|
||||||
ifeq (pa_flo,$(TARGET_PRODUCT))
|
|
||||||
PRODUCT_COPY_FILES += \
|
|
||||||
vendor/pa/prebuilt/bootanimation/1920x1200.zip:system/media/bootanimation.zip
|
|
||||||
endif
|
|
||||||
ifeq (pa_grouper,$(TARGET_PRODUCT))
|
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
vendor/pa/prebuilt/bootanimation/1280x720.zip:system/media/bootanimation.zip
|
vendor/pa/prebuilt/bootanimation/1280x720.zip:system/media/bootanimation.zip
|
||||||
endif
|
endif
|
||||||
|
@ -33,28 +21,11 @@ ifeq (pa_hammerhead,$(TARGET_PRODUCT))
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
vendor/pa/prebuilt/bootanimation/1920x1080.zip:system/media/bootanimation.zip
|
vendor/pa/prebuilt/bootanimation/1920x1080.zip:system/media/bootanimation.zip
|
||||||
endif
|
endif
|
||||||
ifeq (pa_maguro,$(TARGET_PRODUCT))
|
ifneq ($(filter pa_deb pa_flo,$(TARGET_PRODUCT)),)
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
vendor/pa/prebuilt/bootanimation/1280x720.zip:system/media/bootanimation.zip
|
vendor/pa/prebuilt/bootanimation/1920x1200.zip:system/media/bootanimation.zip
|
||||||
endif
|
|
||||||
ifeq (pa_mako,$(TARGET_PRODUCT))
|
|
||||||
PRODUCT_COPY_FILES += \
|
|
||||||
vendor/pa/prebuilt/bootanimation/1280x720.zip:system/media/bootanimation.zip
|
|
||||||
endif
|
endif
|
||||||
ifeq (pa_manta,$(TARGET_PRODUCT))
|
ifeq (pa_manta,$(TARGET_PRODUCT))
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
vendor/pa/prebuilt/bootanimation/2560x1600.zip:system/media/bootanimation.zip
|
vendor/pa/prebuilt/bootanimation/2560x1600.zip:system/media/bootanimation.zip
|
||||||
endif
|
endif
|
||||||
ifeq (pa_tilapia,$(TARGET_PRODUCT))
|
|
||||||
PRODUCT_COPY_FILES += \
|
|
||||||
vendor/pa/prebuilt/bootanimation/1280x720.zip:system/media/bootanimation.zip
|
|
||||||
endif
|
|
||||||
ifeq (pa_toro,$(TARGET_PRODUCT))
|
|
||||||
PRODUCT_COPY_FILES += \
|
|
||||||
vendor/pa/prebuilt/bootanimation/1280x720.zip:system/media/bootanimation.zip
|
|
||||||
endif
|
|
||||||
ifeq (pa_toroplus,$(TARGET_PRODUCT))
|
|
||||||
PRODUCT_COPY_FILES += \
|
|
||||||
vendor/pa/prebuilt/bootanimation/1280x720.zip:system/media/bootanimation.zip
|
|
||||||
endif
|
|
||||||
|
|
Loading…
Reference in New Issue