Jackeagle | b44ac31 | 2020-05-03 11:16:06 +0200 | [diff] [blame] | 1 | # Copyright (C) 2014-2020 The BlissRoms Project |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| 15 | #Bootanimation |
| 16 | |
| 17 | TARGET_BOOT_ANIMATION_RES ?= undefined |
| 18 | |
| 19 | ifeq ($(TARGET_BOOT_ANIMATION_RES),720) |
| 20 | PRODUCT_COPY_FILES += vendor/bliss/prebuilt/common/bootanimation/720.zip:system/media/bootanimation.zip |
ROGERdotT | b0ba19b | 2020-10-02 00:52:34 -0400 | [diff] [blame] | 21 | else ifeq ($(TARGET_BOOT_ANIMATION_RES),768) |
| 22 | PRODUCT_COPY_FILES += vendor/bliss/prebuilt/common/bootanimation/768.zip:system/media/bootanimation.zip |
| 23 | else ifeq ($(TARGET_BOOT_ANIMATION_RES),800) |
| 24 | PRODUCT_COPY_FILES += vendor/bliss/prebuilt/common/bootanimation/800.zip:system/media/bootanimation.zip |
Jackeagle | b44ac31 | 2020-05-03 11:16:06 +0200 | [diff] [blame] | 25 | else ifeq ($(TARGET_BOOT_ANIMATION_RES),1080) |
| 26 | PRODUCT_COPY_FILES += vendor/bliss/prebuilt/common/bootanimation/1080.zip:system/media/bootanimation.zip |
| 27 | else ifeq ($(TARGET_BOOT_ANIMATION_RES),1200) |
| 28 | PRODUCT_COPY_FILES += vendor/bliss/prebuilt/common/bootanimation/1200.zip:system/media/bootanimation.zip |
| 29 | else ifeq ($(TARGET_BOOT_ANIMATION_RES),1440) |
| 30 | PRODUCT_COPY_FILES += vendor/bliss/prebuilt/common/bootanimation/1440.zip:system/media/bootanimation.zip |
| 31 | else ifeq ($(TARGET_BOOT_ANIMATION_RES),undefined) |
| 32 | $(warning Target bootanimation res is undefined, using generic 1440p bootanimation ) |
| 33 | PRODUCT_COPY_FILES += vendor/bliss/prebuilt/common/bootanimation/bootanimation.zip:system/media/bootanimation.zip |
| 34 | else |
| 35 | $(warning Defined bootanimation res is wrong, using generic 1440p bootanimation ) |
| 36 | PRODUCT_COPY_FILES += vendor/bliss/prebuilt/common/bootanimation/bootanimation.zip:system/media/bootanimation.zip |
| 37 | endif |