diff --git a/bootanimation/prebuilts/bootanimation_aokp.zip b/bootanimation/prebuilts/bootanimation_aokp.zip new file mode 100644 index 00000000..31cd6b26 Binary files /dev/null and b/bootanimation/prebuilts/bootanimation_aokp.zip differ diff --git a/bootanimation/prebuilts/bootanimation_cm.zip b/bootanimation/prebuilts/bootanimation_cm.zip new file mode 100644 index 00000000..c2d29e20 Binary files /dev/null and b/bootanimation/prebuilts/bootanimation_cm.zip differ diff --git a/bootanimation/prebuilts/bootanimation_ctos.zip b/bootanimation/prebuilts/bootanimation_ctos.zip new file mode 100644 index 00000000..6221eb2b Binary files /dev/null and b/bootanimation/prebuilts/bootanimation_ctos.zip differ diff --git a/bootanimation/prebuilts/bootanimation_cyberpunk.zip b/bootanimation/prebuilts/bootanimation_cyberpunk.zip new file mode 100644 index 00000000..95315aca Binary files /dev/null and b/bootanimation/prebuilts/bootanimation_cyberpunk.zip differ diff --git a/bootanimation/prebuilts/bootanimation_du.zip b/bootanimation/prebuilts/bootanimation_du.zip new file mode 100644 index 00000000..0ac1a522 Binary files /dev/null and b/bootanimation/prebuilts/bootanimation_du.zip differ diff --git a/bootanimation/prebuilts/bootanimation_evo_reveal.zip b/bootanimation/prebuilts/bootanimation_evo_reveal.zip new file mode 100644 index 00000000..e3c200ce Binary files /dev/null and b/bootanimation/prebuilts/bootanimation_evo_reveal.zip differ diff --git a/bootanimation/prebuilts/bootanimation_google.zip b/bootanimation/prebuilts/bootanimation_google.zip new file mode 100644 index 00000000..fd770837 Binary files /dev/null and b/bootanimation/prebuilts/bootanimation_google.zip differ diff --git a/bootanimation/prebuilts/bootanimation_google_monet.zip b/bootanimation/prebuilts/bootanimation_google_monet.zip new file mode 100644 index 00000000..010e1e03 Binary files /dev/null and b/bootanimation/prebuilts/bootanimation_google_monet.zip differ diff --git a/bootanimation/prebuilts/bootanimation_pac.zip b/bootanimation/prebuilts/bootanimation_pac.zip new file mode 100644 index 00000000..c0f0f3a2 Binary files /dev/null and b/bootanimation/prebuilts/bootanimation_pac.zip differ diff --git a/bootanimation/prebuilts/bootanimation_rr.zip b/bootanimation/prebuilts/bootanimation_rr.zip new file mode 100644 index 00000000..1062be23 Binary files /dev/null and b/bootanimation/prebuilts/bootanimation_rr.zip differ diff --git a/bootanimation/prebuilts/bootanimation_slim.zip b/bootanimation/prebuilts/bootanimation_slim.zip new file mode 100644 index 00000000..f70b3186 Binary files /dev/null and b/bootanimation/prebuilts/bootanimation_slim.zip differ diff --git a/bootanimation/prebuilts/bootanimation_valorant.zip b/bootanimation/prebuilts/bootanimation_valorant.zip new file mode 100644 index 00000000..b60383a0 Binary files /dev/null and b/bootanimation/prebuilts/bootanimation_valorant.zip differ diff --git a/bootanimation/prebuilts/prebuilts.mk b/bootanimation/prebuilts/prebuilts.mk new file mode 100644 index 00000000..c088428a --- /dev/null +++ b/bootanimation/prebuilts/prebuilts.mk @@ -0,0 +1,32 @@ +# +# Copyright (C) 2023 The risingOS Android Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +PRODUCT_SOONG_NAMESPACES += \ + vendor/lineage/prebuilts + +PRODUCT_COPY_FILES += \ + vendor/lineage/bootanimation/prebuilts/bootanimation_aokp.zip:$(TARGET_COPY_OUT_PRODUCT)/media/bootanimation_aokp.zip \ + vendor/lineage/bootanimation/prebuilts/bootanimation_cm.zip:$(TARGET_COPY_OUT_PRODUCT)/media/bootanimation_cm.zip \ + vendor/lineage/bootanimation/prebuilts/bootanimation_ctos.zip:$(TARGET_COPY_OUT_PRODUCT)/media/bootanimation_ctos.zip \ + vendor/lineage/bootanimation/prebuilts/bootanimation_cyberpunk.zip:$(TARGET_COPY_OUT_PRODUCT)/media/bootanimation_cyberpunk.zip \ + vendor/lineage/bootanimation/prebuilts/bootanimation_du.zip:$(TARGET_COPY_OUT_PRODUCT)/media/bootanimation_du.zip \ + vendor/lineage/bootanimation/prebuilts/bootanimation_evo_reveal.zip:$(TARGET_COPY_OUT_PRODUCT)/media/bootanimation_evo_reveal.zip \ + vendor/lineage/bootanimation/prebuilts/bootanimation_google.zip:$(TARGET_COPY_OUT_PRODUCT)/media/bootanimation_google.zip \ + vendor/lineage/bootanimation/prebuilts/bootanimation_google_monet.zip:$(TARGET_COPY_OUT_PRODUCT)/media/bootanimation_google_monet.zip \ + vendor/lineage/bootanimation/prebuilts/bootanimation_pac.zip:$(TARGET_COPY_OUT_PRODUCT)/media/bootanimation_pac.zip \ + vendor/lineage/bootanimation/prebuilts/bootanimation_rr.zip:$(TARGET_COPY_OUT_PRODUCT)/media/bootanimation_rr.zip \ + vendor/lineage/bootanimation/prebuilts/bootanimation_slim.zip:$(TARGET_COPY_OUT_PRODUCT)/media/bootanimation_slim.zip \ + vendor/lineage/bootanimation/prebuilts/bootanimation_valorant.zip:$(TARGET_COPY_OUT_PRODUCT)/media/bootanimation_valorant.zip diff --git a/config/common.mk b/config/common.mk index 5e3e0f96..f3630eb4 100644 --- a/config/common.mk +++ b/config/common.mk @@ -138,6 +138,10 @@ $(call enforce-product-packages-exist-internal,$(lastword $(_include_stack)),pro endif # Bootanimation +TARGET_INCLUDE_BOOT_ANIMATIONS ?= true +ifeq ($(TARGET_INCLUDE_BOOT_ANIMATIONS),true) +include vendor/lineage/bootanimation/prebuilts/prebuilts.mk +endif TARGET_SCREEN_WIDTH ?= 1080 TARGET_SCREEN_HEIGHT ?= 1920 PRODUCT_PACKAGES += \