mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_sapphire
synced 2026-02-01 07:58:19 +00:00
Change-Id: Iae46cbf48ae5fbfa100e83e8d6ce19f225102cf3 Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
73 lines
1.8 KiB
Makefile
73 lines
1.8 KiB
Makefile
#
|
|
# Copyright (C) 2023 The LineageOS Project
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
# APEX
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
|
|
|
|
# Enable project quotas and casefolding for emulated storage without sdcardfs
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/emulated_storage.mk)
|
|
|
|
# Enforce generic ramdisk allow list
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/generic_ramdisk.mk)
|
|
|
|
# Enable virtual AB with vendor ramdisk
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota/launch_with_vendor_ramdisk.mk)
|
|
|
|
# Setup dalvik vm configs
|
|
$(call inherit-product, frameworks/native/build/phone-xhdpi-6144-dalvik-heap.mk)
|
|
|
|
# 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
|
|
|
|
AB_OTA_POSTINSTALL_CONFIG += \
|
|
RUN_POSTINSTALL_vendor=true \
|
|
POSTINSTALL_PATH_vendor=bin/checkpoint_gc \
|
|
FILESYSTEM_TYPE_vendor=ext4 \
|
|
POSTINSTALL_OPTIONAL_vendor=true
|
|
|
|
PRODUCT_PACKAGES += \
|
|
checkpoint_gc \
|
|
otapreopt_script
|
|
|
|
# AAPT
|
|
PRODUCT_AAPT_CONFIG := normal
|
|
PRODUCT_AAPT_PREF_CONFIG := xxhdpi
|
|
|
|
# Boot animation
|
|
TARGET_SCREEN_HEIGHT := 2400
|
|
TARGET_SCREEN_WIDTH := 1080
|
|
|
|
# Boot control
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.boot@1.2-impl-qti \
|
|
android.hardware.boot@1.2-impl-qti.recovery \
|
|
android.hardware.boot@1.2-service
|
|
|
|
# Init
|
|
PRODUCT_PACKAGES += \
|
|
fstab.qcom \
|
|
fstab.qcom.vendor_ramdisk
|
|
|
|
# Partitions
|
|
PRODUCT_USE_DYNAMIC_PARTITIONS := true
|
|
|
|
# Soong namespaces
|
|
PRODUCT_SOONG_NAMESPACES += \
|
|
$(LOCAL_PATH)
|
|
|
|
# Update engine
|
|
PRODUCT_PACKAGES += \
|
|
update_engine \
|
|
update_engine_sideload \
|
|
update_verifier
|
|
|
|
PRODUCT_PACKAGES_DEBUG += \
|
|
update_engine_client
|