audio: use USE_AUDIO_HAL_AIDL instead flag variable
The value of USE_AUDIO_HAL_AIDL is defined in project settings which decide when to use aidl or hidl hal. So, correct audio tables can be included properly. Bug: 317444263 Test: boot to home, check basic audio functions Change-Id: If14c782bdd548f07b42b5e710236de9f20a6ac4d Signed-off-by: Jasmine Cha <chajasmine@google.com>
This commit is contained in:
parent
bcb2809db3
commit
175b8e774e
6 changed files with 6 additions and 6 deletions
|
@ -17,7 +17,7 @@
|
|||
AUDIO_TABLE_FOLDER := tokay
|
||||
|
||||
# Choose AIDL config by build flag.
|
||||
ifeq ($(RELEASE_PIXEL_AIDL_AUDIO_HAL),true)
|
||||
ifeq ($(USE_AUDIO_HAL_AIDL),true)
|
||||
PRODUCT_SOONG_NAMESPACES += device/google/caimito/audio/$(AUDIO_TABLE_FOLDER)/aidl_config
|
||||
PRODUCT_PACKAGES += audio_aidl_configs
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue