Change-Id: I921c74f2d74cd16d4974ff1ae8f0860f43a64e41 Signed-off-by: 7Soldier <reg.fm4@gmail.com>
50 lines
1.1 KiB
Makefile
50 lines
1.1 KiB
Makefile
#
|
|
# 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
|
|
|
|
# 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
|
|
|
|
# HACK: Set vendor patch level
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
ro.vendor.build.security_patch=2099-12-31 \
|
|
ro.bootimage.build.date.utc=0 \
|
|
ro.build.date.utc=0
|