Jasmine Cha 0bdf2998a8 audio: move USE_AUDIO_HAL_AIDL to device-<project>.mk
Bug: 317745810
Test: manual test b/317745810#comment3

Change-Id: Ie6f1660dcf9d26bd14061ead187e1f3d8848d565
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2024-01-03 07:06:25 +00:00

31 lines
1.0 KiB
Makefile

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
BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/audio/sepolicy/hdmi_audio
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)