| # |
| # Copyright (C) 2021 The LineageOS Project |
| # |
| # SPDX-License-Identifier: Apache-2.0 |
| # |
| |
| PRODUCT_USE_DYNAMIC_PARTITIONS := true |
| |
| # Enable virtual A/B OTA |
| $(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota.mk) |
| |
| # Include GSI keys |
| $(call inherit-product, build/make/target/product/gsi_keys.mk) |
| |
| # Get non-open-source specific aspects |
| $(call inherit-product, vendor/fairphone/FP4/FP4-vendor.mk) |
| |
| # A/B |
| PRODUCT_PACKAGES += \ |
| android.hardware.boot@1.1-impl-qti \ |
| android.hardware.boot@1.1-impl-qti.recovery \ |
| android.hardware.boot@1.1-service |
| |
| 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 |
| |
| PRODUCT_PACKAGES += \ |
| update_engine \ |
| update_engine_client \ |
| update_verifier \ |
| update_engine_sideload |
| |
| # fastbootd |
| PRODUCT_PACKAGES += \ |
| fastbootd |
| |
| # Soong Namespaces |
| PRODUCT_SOONG_NAMESPACES += \ |
| $(LOCAL_PATH) |
| |
| # Ramdisk |
| PRODUCT_COPY_FILES += \ |
| $(LOCAL_PATH)/rootdir/etc/fstab.default:$(TARGET_COPY_OUT_RAMDISK)/fstab.default |