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
|
|
|
|
|
2022-10-30 16:59:11 -04:00
|
|
|
AB_OTA_POSTINSTALL_CONFIG += \
|
|
|
|
RUN_POSTINSTALL_vendor=true \
|
|
|
|
POSTINSTALL_PATH_vendor=bin/checkpoint_gc \
|
|
|
|
FILESYSTEM_TYPE_vendor=ext4 \
|
|
|
|
POSTINSTALL_OPTIONAL_vendor=true
|
|
|
|
|
2023-04-04 12:44:40 -04:00
|
|
|
# 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
|
|
|
|
2022-10-30 16:59:11 -04:00
|
|
|
# Dynamic partitions
|
|
|
|
PRODUCT_USE_DYNAMIC_PARTITIONS := true
|
|
|
|
|
2022-08-09 12:34:29 -04:00
|
|
|
# F2FS utilities
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
sg_write_buffer \
|
|
|
|
f2fs_io \
|
|
|
|
check_f2fs
|
|
|
|
|
2020-02-26 09:09:19 -05:00
|
|
|
# Fastbootd
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
fastbootd \
|
|
|
|
android.hardware.fastboot@1.1-impl-mock
|
|
|
|
|
2022-09-13 21:11:46 -04:00
|
|
|
# HACK: Set vendor patch level
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
2021-07-19 18:42:40 -04:00
|
|
|
ro.bootimage.build.date.utc=0 \
|
|
|
|
ro.build.date.utc=0
|
2021-09-30 02:47:32 -04:00
|
|
|
|
|
|
|
# OEM otacert
|
|
|
|
PRODUCT_EXTRA_RECOVERY_KEYS += \
|
|
|
|
$(LOCAL_PATH)/security/ota
|