2023-10-13 11:44:49 -07:00
|
|
|
#
|
|
|
|
# Copyright (C) 2023 The LineageOS Project
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
|
|
|
2023-02-27 06:33:13 -08:00
|
|
|
# A/B
|
|
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota/launch_with_vendor_ramdisk.mk)
|
|
|
|
|
2023-02-27 10:36:08 -08:00
|
|
|
AB_OTA_UPDATER := true
|
|
|
|
AB_OTA_PARTITIONS := \
|
|
|
|
boot \
|
|
|
|
product \
|
|
|
|
system \
|
|
|
|
vbmeta \
|
|
|
|
vbmeta_system \
|
|
|
|
vbmeta_vendor \
|
|
|
|
vendor \
|
2023-03-18 08:09:51 -07:00
|
|
|
vendor_boot \
|
|
|
|
vendor_dlkm
|
2023-02-27 10:36:08 -08:00
|
|
|
|
|
|
|
AB_OTA_POSTINSTALL_CONFIG += \
|
|
|
|
RUN_POSTINSTALL_system=true \
|
|
|
|
POSTINSTALL_PATH_system=system/bin/otapreopt_script \
|
2023-03-02 11:52:41 -08:00
|
|
|
FILESYSTEM_TYPE_system=erofs \
|
2023-02-27 10:36:08 -08:00
|
|
|
POSTINSTALL_OPTIONAL_system=true
|
|
|
|
|
|
|
|
AB_OTA_POSTINSTALL_CONFIG += \
|
|
|
|
RUN_POSTINSTALL_vendor=true \
|
|
|
|
POSTINSTALL_PATH_vendor=bin/checkpoint_gc \
|
2023-03-02 11:52:41 -08:00
|
|
|
FILESYSTEM_TYPE_vendor=erofs \
|
2023-02-27 10:36:08 -08:00
|
|
|
POSTINSTALL_OPTIONAL_vendor=true
|
|
|
|
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
update_engine \
|
|
|
|
update_verifier \
|
|
|
|
otapreopt_script \
|
|
|
|
checkpoint_gc
|
|
|
|
|
2023-02-28 04:58:05 -08:00
|
|
|
# Boot control HAL
|
|
|
|
PRODUCT_PACKAGES += \
|
2023-03-02 11:57:04 -08:00
|
|
|
android.hardware.boot@1.2-service \
|
|
|
|
android.hardware.boot@1.2-mtkimpl \
|
2023-02-28 04:58:05 -08:00
|
|
|
android.hardware.boot@1.2-mtkimpl.recovery
|
|
|
|
|
2023-02-27 06:31:40 -08:00
|
|
|
# Dynamic partitions
|
|
|
|
PRODUCT_USE_DYNAMIC_PARTITIONS := true
|
|
|
|
|
2023-03-02 11:59:57 -08:00
|
|
|
# FastbootD
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.fastboot@1.1-impl-mock \
|
|
|
|
fastbootd
|
|
|
|
|
2023-03-02 12:01:14 -08:00
|
|
|
# Health
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.health@2.1-service \
|
|
|
|
android.hardware.health@2.1-impl \
|
|
|
|
android.hardware.health@2.1-impl.recovery
|
|
|
|
|
2023-02-27 10:47:19 -08:00
|
|
|
# Init files
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
fstab.mt6789_vendor_ramdisk
|
|
|
|
|
2023-10-13 11:44:49 -07:00
|
|
|
# Shipping API level
|
|
|
|
PRODUCT_SHIPPING_API_LEVEL := 31
|
|
|
|
|
|
|
|
# Soong namespaces
|
|
|
|
PRODUCT_SOONG_NAMESPACES += \
|
2023-02-28 04:58:05 -08:00
|
|
|
$(LOCAL_PATH) \
|
|
|
|
hardware/mediatek
|
2023-10-13 11:44:49 -07:00
|
|
|
|
|
|
|
# Inherit the proprietary files
|
|
|
|
$(call inherit-product, vendor/infinix/X6833B/X6833B-vendor.mk)
|