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:
parent
aac9a16253
commit
58180f0c16
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue