gs101: 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: 195894512
Test: verified that different actuator model configs are used on
different targets

Change-Id: Ic7fd5f52c3bfed252fa3956f3e926c90c1632013
This commit is contained in:
Vince Leung 2021-08-27 03:50:21 +00:00
parent aac9a16253
commit 58180f0c16

View file

@ -221,6 +221,11 @@ SOONG_CONFIG_aoc_audio_func += aosp_build
SOONG_CONFIG_aoc_audio_func_aosp_build := true
endif
SOONG_CONFIG_NAMESPACES += haptics
SOONG_CONFIG_haptics += \
actuator_model
SOONG_CONFIG_haptics_actuator_model := $(ACTUATOR_MODEL)
# Primary AudioHAL Configuration
#BOARD_USE_COMMON_AUDIOHAL := true
#BOARD_USE_CALLIOPE_AUDIOHAL := false