| Nahhk | 7117b47 | 2025-03-19 06:23:56 -0500 | [diff] [blame] | 1 | # |
| 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 Savchenko | 1d9c817 | 2025-08-26 22:03:31 +0000 | [diff] [blame] | 22 | AB_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 | |
| 28 | AB_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 | |
| 34 | PRODUCT_PACKAGES += \ |
| 35 | checkpoint_gc \ |
| 36 | otapreopt_script |
| 37 | |
| Cosmin Tanislav | 46b640f | 2025-02-19 02:44:05 +0200 | [diff] [blame^] | 38 | # Boot control |
| 39 | PRODUCT_PACKAGES += \ |
| 40 | android.hardware.boot-service.qti \ |
| 41 | android.hardware.boot-service.qti.recovery |
| 42 | |
| 43 | $(call soong_config_set, ufsbsg, ufsframework, bsg) |
| 44 | |
| Nahhk | 0a5c32c | 2025-01-20 12:23:44 -0500 | [diff] [blame] | 45 | # Shipping API Level |
| 46 | BOARD_SHIPPING_API_LEVEL := 33 |
| 47 | |
| Nahhk | 7117b47 | 2025-03-19 06:23:56 -0500 | [diff] [blame] | 48 | # Inherit from vendor blobs |
| 49 | $(call inherit-product, vendor/xiaomi/sm6225-common/sm6225-common-vendor.mk) |