mirror of
https://github.com/Anything-at-25-00/android_device_tecno_LG8n.git
synced 2024-10-06 19:56:26 -07:00
57c9f55335
Signed-off-by: Woomymy <woomy@woomy.be> Change-Id: I93e080fd483d88be3a389a0ac64542ee04298f03 Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
78 lines
1.7 KiB
Makefile
78 lines
1.7 KiB
Makefile
#
|
|
# Copyright (C) 2023 The LineageOS Project
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
# A/B
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota/launch_with_vendor_ramdisk.mk)
|
|
|
|
AB_OTA_UPDATER := true
|
|
AB_OTA_PARTITIONS := \
|
|
boot \
|
|
product \
|
|
system \
|
|
system_ext \
|
|
vbmeta \
|
|
vbmeta_system \
|
|
vbmeta_vendor \
|
|
vendor \
|
|
vendor_boot \
|
|
vendor_dlkm
|
|
|
|
AB_OTA_POSTINSTALL_CONFIG += \
|
|
RUN_POSTINSTALL_system=true \
|
|
POSTINSTALL_PATH_system=system/bin/otapreopt_script \
|
|
FILESYSTEM_TYPE_system=erofs \
|
|
POSTINSTALL_OPTIONAL_system=true
|
|
|
|
AB_OTA_POSTINSTALL_CONFIG += \
|
|
RUN_POSTINSTALL_vendor=true \
|
|
POSTINSTALL_PATH_vendor=bin/checkpoint_gc \
|
|
FILESYSTEM_TYPE_vendor=erofs \
|
|
POSTINSTALL_OPTIONAL_vendor=true
|
|
|
|
PRODUCT_PACKAGES += \
|
|
update_engine \
|
|
update_verifier \
|
|
otapreopt_script \
|
|
checkpoint_gc
|
|
|
|
# Boot control HAL
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.boot@1.2-service \
|
|
android.hardware.boot@1.2-impl:64 \
|
|
android.hardware.boot@1.2-impl.recovery
|
|
|
|
# Dynamic partitions
|
|
PRODUCT_USE_DYNAMIC_PARTITIONS := true
|
|
|
|
# Enforce generic ramdisk allow list
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/generic_ramdisk.mk)
|
|
|
|
# FastbootD
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.fastboot@1.1-impl-mock \
|
|
fastbootd
|
|
|
|
# Health
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.health@2.1-service \
|
|
android.hardware.health@2.1-impl \
|
|
android.hardware.health@2.1-impl.recovery
|
|
|
|
# Init files
|
|
PRODUCT_PACKAGES += \
|
|
fstab.mt6789_vendor_ramdisk
|
|
|
|
# Shipping API level
|
|
PRODUCT_SHIPPING_API_LEVEL := 31
|
|
|
|
# Soong namespaces
|
|
PRODUCT_SOONG_NAMESPACES += \
|
|
$(LOCAL_PATH) \
|
|
hardware/mediatek
|
|
|
|
# Inherit the proprietary files
|
|
$(call inherit-product, vendor/infinix/X6833B/X6833B-vendor.mk)
|