add haptics actuator model config

Actuator models can vary across devices. Actuator models can have
different characteristics that need to be handled appropriately. Add
support to define the actuator model used in Soong makefiles.

Bug: 236202962
Test: verified that different actuator model configs are used on
different targets
Signed-off-by: Chase Wu <chasewu@google.com>
Change-Id: I4b4c5e26c52f410ec36f9b8959e8fadd2ea19b0f
This commit is contained in:
Chase Wu 2022-06-23 20:32:44 +08:00 committed by TreeHugger Robot
parent b67b41dd1d
commit 11403b25c9

View file

@ -252,6 +252,9 @@ endif
# SoundTriggerHAL Configuration # SoundTriggerHAL Configuration
#BOARD_USE_SOUNDTRIGGER_HAL := false #BOARD_USE_SOUNDTRIGGER_HAL := false
# Vibrator HAL actuator model configuration
$(call soong_config_set,haptics,actuator_model,$(ACTUATOR_MODEL))
# HWComposer # HWComposer
BOARD_HWC_VERSION := hwc3 BOARD_HWC_VERSION := hwc3
TARGET_RUNNING_WITHOUT_SYNC_FRAMEWORK := false TARGET_RUNNING_WITHOUT_SYNC_FRAMEWORK := false