blob: bdb3476ba11bc8da49c225b2247a0d87a5bd08d2 [file] [log] [blame]
Nahhk7117b472025-03-19 06:23:56 -05001#
2# Copyright (C) 2025 The LineageOS Project
3#
4# SPDX-License-Identifier: Apache-2.0
5#
6
7# Enable project quotas and casefolding for emulated storage without sdcardfs
8$(call inherit-product, $(SRC_TARGET_DIR)/product/emulated_storage.mk)
9
10# Installs gsi keys into ramdisk, to boot a GSI with verified boot.
11$(call inherit-product, $(SRC_TARGET_DIR)/product/developer_gsi_keys.mk)
12
13# Enforce generic ramdisk allow list
14$(call inherit-product, $(SRC_TARGET_DIR)/product/generic_ramdisk.mk)
15
16# Setup dalvik vm configs
17$(call inherit-product, frameworks/native/build/phone-xhdpi-6144-dalvik-heap.mk)
18
19# A/B
20$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota/launch_with_vendor_ramdisk.mk)
21
Nikita Savchenko1d9c8172025-08-26 22:03:31 +000022AB_OTA_POSTINSTALL_CONFIG += \
23 RUN_POSTINSTALL_system=true \
24 POSTINSTALL_PATH_system=system/bin/otapreopt_script \
25 FILESYSTEM_TYPE_system=ext4 \
26 POSTINSTALL_OPTIONAL_system=true
27
28AB_OTA_POSTINSTALL_CONFIG += \
29 RUN_POSTINSTALL_vendor=true \
30 POSTINSTALL_PATH_vendor=bin/checkpoint_gc \
31 FILESYSTEM_TYPE_vendor=ext4 \
32 POSTINSTALL_OPTIONAL_vendor=true
33
34PRODUCT_PACKAGES += \
35 checkpoint_gc \
36 otapreopt_script
37
Cosmin Tanislav46b640f2025-02-19 02:44:05 +020038# Boot control
39PRODUCT_PACKAGES += \
40 android.hardware.boot-service.qti \
41 android.hardware.boot-service.qti.recovery
42
43$(call soong_config_set, ufsbsg, ufsframework, bsg)
44
Nahhk0a5c32c2025-01-20 12:23:44 -050045# Shipping API Level
46BOARD_SHIPPING_API_LEVEL := 33
47
Nahhk7117b472025-03-19 06:23:56 -050048# Inherit from vendor blobs
49$(call inherit-product, vendor/xiaomi/sm6225-common/sm6225-common-vendor.mk)