# # Copyright (C) 2026 The LineageOS Project # # SPDX-License-Identifier: Apache-2.0 # # Enable updating of APEXes $(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk) # A/B PRODUCT_PACKAGES += \ android.hardware.boot@1.2-impl \ android.hardware.boot@1.2-impl.recovery \ android.hardware.boot@1.2-service 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 AB_OTA_POSTINSTALL_CONFIG += \ RUN_POSTINSTALL_vendor=true \ POSTINSTALL_PATH_vendor=bin/checkpoint_gc \ FILESYSTEM_TYPE_vendor=ext4 \ POSTINSTALL_OPTIONAL_vendor=true PRODUCT_PACKAGES += \ checkpoint_gc \ otapreopt_script # API levels PRODUCT_SHIPPING_API_LEVEL := 29 # fastbootd PRODUCT_PACKAGES += \ android.hardware.fastboot@1.1-impl-mock \ fastbootd # Health PRODUCT_PACKAGES += \ android.hardware.health@2.1-impl \ android.hardware.health@2.1-service # Overlays PRODUCT_ENFORCE_RRO_TARGETS := * # Partitions PRODUCT_USE_DYNAMIC_PARTITIONS := true # Product characteristics PRODUCT_CHARACTERISTICS := default # Rootdir PRODUCT_PACKAGES += \ init.lge.usb.default.sh \ init.lge.usb.lao.sh \ init.lge.usb.sh \ init.lge.zramswap.sh \ set_life_data.sh \ wifi_runtime_conf.sh \ PRODUCT_PACKAGES += \ fstab.factory \ factory_init.connectivity.rc \ factory_init.project.rc \ factory_init.rc \ init.aee.rc \ init.ago.rc \ init.connectivity.rc \ init.lge.audio.rc \ init.lge.display.rc \ init.lge.fingerprints.rc \ init.lge.rat_config.rc \ init.lge.sensors.rc \ init.lge.usb.configfs.rc \ init.lge.usb.rc \ init.mcaymanlm.rc \ init.mcaymanlm.vendor.rc \ init.mcaymanlm_vendor.rc \ init.modem.rc \ init.mt6885.rc \ init.mt6885.usb.rc \ init.mt6885_core.rc \ init.project.rc \ init.sensor_2_0.rc \ meta_init.connectivity.rc \ meta_init.modem.rc \ meta_init.project.rc \ meta_init.rc \ multi_init.rc \ init.recovery.mt6885.rc \ meta_init.project.rc \ ueventd.mcaymanlm.rc \ PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/rootdir/etc/fstab.factory:$(TARGET_COPY_OUT_RAMDISK)/fstab.factory # Soong namespaces PRODUCT_SOONG_NAMESPACES += \ $(LOCAL_PATH) # Inherit the proprietary files $(call inherit-product, vendor/lge/mcaymanlm/mcaymanlm-vendor.mk)