blob: 3b48f5f5e19abb7d84dc83d47cfe3175b62930a5 [file] [log] [blame]
Nikita Savchenkoc667b842025-06-29 15:49:11 +03001#
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# Add common definitions for Qualcomm
14$(call inherit-product, hardware/qcom-caf/common/common.mk)
15
16# A/B
17$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota/launch_with_vendor_ramdisk.mk)
18
19AB_OTA_POSTINSTALL_CONFIG += \
20 RUN_POSTINSTALL_system=true \
21 POSTINSTALL_PATH_system=system/bin/otapreopt_script \
22 FILESYSTEM_TYPE_system=ext4 \
23 POSTINSTALL_OPTIONAL_system=true
24
25AB_OTA_POSTINSTALL_CONFIG += \
26 RUN_POSTINSTALL_vendor=true \
27 POSTINSTALL_PATH_vendor=bin/checkpoint_gc \
28 FILESYSTEM_TYPE_vendor=ext4 \
29 POSTINSTALL_OPTIONAL_vendor=true
30
31PRODUCT_PACKAGES += \
32 checkpoint_gc \
33 otapreopt_script
34
Cosmin Tanislavc38bc5a2025-02-19 02:44:05 +020035# Boot control
36PRODUCT_PACKAGES += \
37 android.hardware.boot-service.qti \
38 android.hardware.boot-service.qti.recovery
39
Nikita Savchenkoc667b842025-06-29 15:49:11 +030040# Inherit from vendor blobs
41$(call inherit-product, vendor/motorola/sm8650-common/sm8650-common-vendor.mk)