# # Copyright (C) 2024 The Android Open Source Project # Copyright (C) 2024 SebaUbuntu's TWRP device tree generator # # SPDX-License-Identifier: Apache-2.0 # LOCAL_PATH := device/xiaomi/haotian # 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 # Boot control HAL PRODUCT_PACKAGES += \ android.hardware.boot@1.0-impl \ android.hardware.boot@1.0-service PRODUCT_PACKAGES += \ bootctrl.sun PRODUCT_STATIC_BOOT_CONTROL_HAL := \ bootctrl.sun \ libgptutils \ libz \ libcutils PRODUCT_PACKAGES += \ otapreopt_script \ cppreopts.sh \ update_engine \ update_verifier \ update_engine_sideload