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)
|
|
|
|
|
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-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
|
|
|
|
|
2022-12-31 12:43:01 +01:00
|
|
|
# Partitions
|
|
|
|
PRODUCT_BUILD_SUPER_PARTITION := false
|
|
|
|
PRODUCT_USE_DYNAMIC_PARTITIONS := true
|
|
|
|
|
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
|