# # Copyright (C) 2023 The Android Open Source Project # Copyright (C) 2023 SebaUbuntu's TWRP device tree generator # # SPDX-License-Identifier: Apache-2.0 # # Soong namespaces PRODUCT_SOONG_NAMESPACES += \ $(LOCAL_PATH) # API BOARD_SHIPPING_API_LEVEL := 31 BOARD_API_LEVEL := 31 PRODUCT_SHIPPING_API_LEVEL := 31 SHIPPING_API_LEVEL := 31 # A/B 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 # Boot control HAL PRODUCT_PACKAGES += \ android.hardware.boot@1.1-impl-qti \ android.hardware.boot@1.1-impl-qti.recovery \ android.hardware.boot@1.1-service PRODUCT_PACKAGES_DEBUG += \ bootctl PRODUCT_PACKAGES += \ otapreopt_script \ checkpoint_gc \ update_engine \ update_engine_client \ update_verifier \ update_engine_sideload # Dynamic partitions PRODUCT_USE_DYNAMIC_PARTITIONS := true # F2FS utilities PRODUCT_PACKAGES += \ sg_write_buffer \ f2fs_io \ check_f2fs # Fastbootd PRODUCT_PACKAGES += \ fastbootd \ android.hardware.fastboot@1.1-impl-mock # HACK: Set vendor patch level PRODUCT_PROPERTY_OVERRIDES += \ ro.bootimage.build.date.utc=0 \ ro.build.date.utc=0 # OEM otacert PRODUCT_EXTRA_RECOVERY_KEYS += \ $(LOCAL_PATH)/security/ota