| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- #
- # Copyright (C) 2025 The Android Open Source Project
- # Copyright (C) 2025 The TWRP Open Source Project
- #
- # SPDX-License-Identifier: Apache-2.0
- #
- LOCAL_PATH := device/samsung/dm2q
- # Inherit from common AOSP config
- $(call inherit-product, $(SRC_TARGET_DIR)/product/base.mk)
- $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
- # Enable project quotas and casefolding for emulated storage without sdcardfs
- $(call inherit-product, $(SRC_TARGET_DIR)/product/emulated_storage.mk)
- # Inherit some common TWRP stuff.
- $(call inherit-product, vendor/twrp/config/common.mk)
- BUILD_BROKEN_DUP_RULES := true
- RELAX_USES_LIBRARY_CHECK := true
- # A/B support
- AB_OTA_UPDATER := false
- # Dynamic partitions
- PRODUCT_USE_DYNAMIC_PARTITIONS := true
- # f2fs utilities
- PRODUCT_PACKAGES += \
- sg_write_buffer \
- f2fs_io \
- check_f2fs
- # Userdata checkpoint
- PRODUCT_PACKAGES += \
- checkpoint_gc
-
- # fastbootd
- PRODUCT_PACKAGES += fastbootd
- # Add default implementation of fastboot HAL.
- PRODUCT_PACKAGES += android.hardware.fastboot@1.0-impl-mock
- #namespace definition for librecovery_updater
- #differentiate legacy 'sg' or 'bsg' framework
- SOONG_CONFIG_NAMESPACES += ufsbsg
- SOONG_CONFIG_ufsbsg += ufsframework
- SOONG_CONFIG_ufsbsg_ufsframework := bsg
- # Enable Fuse Passthrough
- PRODUCT_PROPERTY_OVERRIDES += persist.sys.fuse.passthrough.enable=true
- # Soong namespaces
- PRODUCT_SOONG_NAMESPACES += \
- $(DEVICE_PATH)
|