salami: Migrate to soong_config_set()

Change-Id: I06de8759836114f54a822d6f23f1177515e21178
This commit is contained in:
LuK1337
2024-08-28 15:32:59 +02:00
committed by Bruno Martins
parent a5479e5b92
commit a33712b914
2 changed files with 3 additions and 6 deletions

View File

@@ -24,11 +24,5 @@ TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop
# Recovery
TARGET_RECOVERY_UI_MARGIN_HEIGHT := 103
# Vibrator
SOONG_CONFIG_NAMESPACES += OPLUS_LINEAGE_VIBRATOR_HAL
SOONG_CONFIG_OPLUS_LINEAGE_VIBRATOR_HAL := \
USE_EFFECT_STREAM
SOONG_CONFIG_OPLUS_LINEAGE_VIBRATOR_HAL_USE_EFFECT_STREAM := true
# Include the proprietary files BoardConfig.
include vendor/oneplus/salami/BoardConfigVendor.mk

View File

@@ -34,6 +34,9 @@ PRODUCT_PACKAGES += \
PRODUCT_SOONG_NAMESPACES += \
$(LOCAL_PATH)
# Vibrator
$(call soong_config_set,OPLUS_LINEAGE_VIBRATOR_HAL,USE_EFFECT_STREAM,true)
# Inherit from the common OEM chipset makefile.
$(call inherit-product, device/oneplus/sm8550-common/common.mk)