35 lines
906 B
Makefile
35 lines
906 B
Makefile
#
|
|
# Copyright (C) 2025 The Android Open Source Project
|
|
# Copyright (C) 2025 SebaUbuntu's TWRP device tree generator
|
|
# Copyright (C) 2019 - Current | A-Team Digital Solutions
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
LOCAL_PATH := device/motorola/mona
|
|
|
|
# TWRP theme fix for Soong
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
tw_theme=portrait_hdpi
|
|
TARGET_SCREEN_WIDTH := 1220
|
|
TARGET_SCREEN_HEIGHT := 2712
|
|
|
|
# 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 AIDL Adoption
|
|
vintf_fragments += $(LOCAL_PATH)/proprietary/etc/vintf/manifest/boot-service.qti.xml
|
|
PRODUCT_PACKAGES += \
|
|
bootctl \
|
|
bootctrl.parrot
|
|
|
|
PRODUCT_PACKAGES += \
|
|
otapreopt_script \
|
|
cppreopts.sh \
|
|
update_engine \
|
|
update_verifier \
|
|
update_engine_sideload
|