2022-12-31 06:08:30 +01:00
|
|
|
#
|
|
|
|
# Copyright (C) 2022 The LineageOS Project
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
|
|
|
2019-04-03 10:44:10 +02:00
|
|
|
# Include GSI keys
|
|
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/gsi_keys.mk)
|
|
|
|
|
2019-09-16 10:34:32 +02:00
|
|
|
# Enable updating of APEXes
|
|
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
|
|
|
|
|
2022-12-31 12:33:49 +01:00
|
|
|
# A/B
|
|
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota/launch_with_vendor_ramdisk.mk)
|
|
|
|
|
|
|
|
AB_OTA_UPDATER := true
|
|
|
|
|
2022-12-31 12:43:01 +01:00
|
|
|
AB_OTA_PARTITIONS += \
|
|
|
|
boot \
|
2022-12-31 13:36:45 +01:00
|
|
|
dtbo \
|
2022-12-31 12:43:01 +01:00
|
|
|
product \
|
|
|
|
system \
|
|
|
|
system_ext \
|
2019-09-07 20:13:09 +02:00
|
|
|
vbmeta \
|
2022-12-31 17:39:52 +01:00
|
|
|
vbmeta_system \
|
2022-12-31 13:19:50 +01:00
|
|
|
vendor \
|
|
|
|
vendor_boot
|
2022-12-31 12:43:01 +01:00
|
|
|
|
2022-12-31 12:33:49 +01:00
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
update_engine \
|
|
|
|
update_engine_sideload \
|
|
|
|
update_verifier
|
|
|
|
|
|
|
|
AB_OTA_POSTINSTALL_CONFIG += \
|
|
|
|
RUN_POSTINSTALL_system=true \
|
|
|
|
POSTINSTALL_PATH_system=system/bin/otapreopt_script \
|
|
|
|
FILESYSTEM_TYPE_system=ext4 \
|
|
|
|
POSTINSTALL_OPTIONAL_system=true
|
|
|
|
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
otapreopt_script
|
|
|
|
|
2023-02-07 19:24:46 +01:00
|
|
|
# Boot animation
|
|
|
|
TARGET_SCREEN_HEIGHT := 2400
|
|
|
|
TARGET_SCREEN_WIDTH := 1080
|
|
|
|
|
2023-01-28 19:04:03 +01:00
|
|
|
# Bootctrl
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.boot@1.1-impl-qti \
|
|
|
|
android.hardware.boot@1.1-impl-qti.recovery \
|
|
|
|
android.hardware.boot@1.1-service
|
|
|
|
|
2023-02-04 21:07:19 +01:00
|
|
|
# Filesystem
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
fs_config_files
|
|
|
|
|
2022-12-31 12:43:01 +01:00
|
|
|
# Partitions
|
|
|
|
PRODUCT_BUILD_SUPER_PARTITION := false
|
|
|
|
PRODUCT_USE_DYNAMIC_PARTITIONS := true
|
|
|
|
|
2023-01-28 20:44:00 +01:00
|
|
|
# Rootdir
|
|
|
|
PRODUCT_PACKAGES += \
|
2023-02-04 20:53:32 +01:00
|
|
|
hardware_revisions.sh \
|
|
|
|
init.class_main.sh \
|
|
|
|
init.mdm.sh \
|
|
|
|
init.mmi.boot.sh \
|
|
|
|
init.mmi.laser.sh \
|
|
|
|
init.mmi.touch.sh \
|
|
|
|
init.oem.fingerprint2.sh \
|
|
|
|
init.oem.hw.sh \
|
|
|
|
init.qcom.early_boot.sh \
|
|
|
|
init.qcom.post_boot.sh \
|
|
|
|
init.qcom.sh \
|
|
|
|
init.qti.dcvs.sh \
|
|
|
|
init.qti.early_init.sh \
|
|
|
|
fstab.qcom \
|
|
|
|
init.mmi.charge_only.rc \
|
|
|
|
init.mmi.chipset.rc \
|
|
|
|
init.mmi.debug.rc \
|
|
|
|
init.mmi.overlay.rc \
|
|
|
|
init.mmi.rc \
|
|
|
|
init.qcom.factory.rc \
|
|
|
|
init.qcom.rc \
|
|
|
|
init.recovery.qcom.rc \
|
|
|
|
init.target.rc \
|
|
|
|
ueventd.qcom.rc \
|
2023-01-28 20:44:00 +01:00
|
|
|
|
2023-02-11 20:53:45 +01:00
|
|
|
# Shipping API level
|
|
|
|
BOARD_API_LEVEL := 30
|
|
|
|
BOARD_SHIPPING_API_LEVEL := 30
|
|
|
|
PRODUCT_SHIPPING_API_LEVEL := 31
|
2022-12-31 06:08:30 +01:00
|
|
|
|
|
|
|
# Soong namespaces
|
|
|
|
PRODUCT_SOONG_NAMESPACES += \
|
|
|
|
$(LOCAL_PATH)
|
2022-12-31 13:19:50 +01:00
|
|
|
|
|
|
|
# Vendor ramdisk
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(LOCAL_PATH)/rootdir/etc/fstab.qcom_ramdisk:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/first_stage_ramdisk/fstab.qcom
|