Jasmine Cha 1e19480c70 audio: separate audio hal hidl/aidl by project
Bug: 317444263
Bug: 317733172
Test: boot to home, check basic audio functions

Change-Id: I034b4958b3fc701569988618f5428c07c8d61c15
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-12-27 11:58:55 +08:00

31 lines
984 B
Makefile

USE_AUDIO_HAL_AIDL := true
DEVICE_MANIFEST_FILE += device/google/gs-common/audio/aidl/manifest.xml
# Audio HALs
PRODUCT_PACKAGES += \
android.hardware.audio.service-aidl.aoc \
vendor.google.whitechapel.audio.hal.parserservice \
# AIDL software effects. These are the effects supporting in all projects.
# For the project-specific effects, such as haptic generator, please add them
# to makefile in the project's device folder.
PRODUCT_PACKAGES += \
libvisualizeraidl \
libbundleaidl \
libreverbaidl \
libdynamicsprocessingaidl \
libloudnessenhanceraidl \
libdownmixaidl \
BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/audio/sepolicy/aidl
include device/google/gs-common/audio/common.mk
DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += device/google/gs-common/audio/aidl/device_framework_matrix_product.xml
PRODUCT_PROPERTY_OVERRIDES += \
vendor.audio_hal.aidl.enable=true
$(call soong_config_set,pixel_audio_hal_type,aidl_build,true)