salami: Migrate to soong_config_set()
Change-Id: I06de8759836114f54a822d6f23f1177515e21178
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user