2023-04-04 12:44:40 -04:00
|
|
|
#
|
|
|
|
# Copyright (C) 2023 The Android Open Source Project
|
|
|
|
# Copyright (C) 2023 SebaUbuntu's TWRP device tree generator
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
|
|
|
2018-10-02 07:51:03 -04:00
|
|
|
# Soong namespaces
|
|
|
|
PRODUCT_SOONG_NAMESPACES += \
|
|
|
|
$(LOCAL_PATH)
|
2021-11-04 09:12:01 -04:00
|
|
|
|
|
|
|
# API
|
|
|
|
BOARD_SHIPPING_API_LEVEL := 31
|
|
|
|
BOARD_API_LEVEL := 31
|
|
|
|
PRODUCT_SHIPPING_API_LEVEL := 31
|
|
|
|
SHIPPING_API_LEVEL := 31
|
|
|
|
|
2023-04-04 12:44:40 -04:00
|
|
|
# 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.taro
|
|
|
|
|
|
|
|
PRODUCT_STATIC_BOOT_CONTROL_HAL := \
|
|
|
|
bootctrl.taro \
|
|
|
|
libgptutils \
|
|
|
|
libz \
|
|
|
|
libcutils
|
|
|
|
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
otapreopt_script \
|
|
|
|
cppreopts.sh \
|
|
|
|
update_engine \
|
|
|
|
update_verifier \
|
|
|
|
update_engine_sideload
|
2022-09-13 21:11:46 -04:00
|
|
|
|
|
|
|
# HACK: Set vendor patch level
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
|
|
ro.vendor.build.security_patch=2099-12-31
|