vibrator: Add adaptive haptics config

Add adaptive haptics config parameter to the build environment

Bug: 198239103
Test: atest VibratorHalCs40l26TestSuite
Change-Id: I9e9e4733bd204dfe2f8d719902afa32b405b35cf
Signed-off-by: Chris Paulo <chrispaulo@google.com>
diff --git a/BoardConfig-common.mk b/BoardConfig-common.mk
index d2da080..b1d2d4d 100644
--- a/BoardConfig-common.mk
+++ b/BoardConfig-common.mk
@@ -217,6 +217,10 @@
 # SoundTriggerHAL Configuration
 #BOARD_USE_SOUNDTRIGGER_HAL := false
 
+# Vibrator HAL actuator model and adaptive haptics configuration
+$(call soong_config_set,haptics,actuator_model,$(ACTUATOR_MODEL))
+$(call soong_config_set,haptics,adaptive_haptics_feature,$(ADAPTIVE_HAPTICS_FEATURE))
+
 # HWComposer
 BOARD_HWC_VERSION := libhwc2.1
 TARGET_RUNNING_WITHOUT_SYNC_FRAMEWORK := false