blob: 2a4d0c009f95b87d73b9e05b193a561cd0db7f4e [file] [log] [blame]
Jackeagleb44ac312020-05-03 11:16:06 +02001# 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
17TARGET_BOOT_ANIMATION_RES ?= undefined
18
19ifeq ($(TARGET_BOOT_ANIMATION_RES),720)
20 PRODUCT_COPY_FILES += vendor/bliss/prebuilt/common/bootanimation/720.zip:system/media/bootanimation.zip
ROGERdotTb0ba19b2020-10-02 00:52:34 -040021else ifeq ($(TARGET_BOOT_ANIMATION_RES),768)
22 PRODUCT_COPY_FILES += vendor/bliss/prebuilt/common/bootanimation/768.zip:system/media/bootanimation.zip
23else ifeq ($(TARGET_BOOT_ANIMATION_RES),800)
24 PRODUCT_COPY_FILES += vendor/bliss/prebuilt/common/bootanimation/800.zip:system/media/bootanimation.zip
Jackeagleb44ac312020-05-03 11:16:06 +020025else ifeq ($(TARGET_BOOT_ANIMATION_RES),1080)
26 PRODUCT_COPY_FILES += vendor/bliss/prebuilt/common/bootanimation/1080.zip:system/media/bootanimation.zip
27else ifeq ($(TARGET_BOOT_ANIMATION_RES),1200)
28 PRODUCT_COPY_FILES += vendor/bliss/prebuilt/common/bootanimation/1200.zip:system/media/bootanimation.zip
29else ifeq ($(TARGET_BOOT_ANIMATION_RES),1440)
30 PRODUCT_COPY_FILES += vendor/bliss/prebuilt/common/bootanimation/1440.zip:system/media/bootanimation.zip
31else 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
34else
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
37endif