blob: 7dd56bc01069c32d1d39aa65906a5e05c2649fcf [file] [log] [blame]
Jasmine Cha1e194802023-12-22 10:28:42 +08001
Jasmine Cha8e0e1062023-03-03 14:51:32 +08002DEVICE_MANIFEST_FILE += device/google/gs-common/audio/aidl/manifest.xml
3
4# Audio HALs
5PRODUCT_PACKAGES += \
David Li4cc0efc2023-07-05 17:39:10 +08006 android.hardware.audio.service-aidl.aoc \
7 vendor.google.whitechapel.audio.hal.parserservice \
Jasmine Cha8e0e1062023-03-03 14:51:32 +08008
David Li827c84e2023-04-26 14:52:35 +08009PRODUCT_PACKAGES += \
10 libvisualizeraidl \
11 libbundleaidl \
12 libreverbaidl \
13 libdynamicsprocessingaidl \
14 libloudnessenhanceraidl \
15 libdownmixaidl \
David Li2a7b2bd2024-04-24 05:02:01 +080016 libhapticgeneratoraidl \
David Li827c84e2023-04-26 14:52:35 +080017
Jasmine Cha8e0e1062023-03-03 14:51:32 +080018BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/audio/sepolicy/aidl
Carter Hsue9c42332023-12-04 15:53:50 +080019BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/audio/sepolicy/hdmi_audio
Jasmine Cha8e0e1062023-03-03 14:51:32 +080020
21include device/google/gs-common/audio/common.mk
22
23DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += device/google/gs-common/audio/aidl/device_framework_matrix_product.xml
Jasmine Cha6cd390e2023-03-13 09:41:44 +080024
25PRODUCT_PROPERTY_OVERRIDES += \
26 vendor.audio_hal.aidl.enable=true
Mikhail Naganov57cd0312024-02-06 20:01:42 -080027PRODUCT_SYSTEM_EXT_PROPERTIES += \
28 ro.audio.ihaladaptervendorextension_enabled=true
Jasmine Chae5bf86e2023-12-12 16:27:28 +080029
David Li15c9c332024-09-13 10:03:50 +000030ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
31$(call soong_config_set,aoc_audio_func,dump_usecase_data,true)
32$(call soong_config_set,aoc_audio_func,hal_socket_control,true)
33$(call soong_config_set,aoc_audio_func,record_tuning_keys,true)
34$(call soong_config_set,aoc_audio_func,aidl_command_interface,true)
35endif
36
Jasmine Chae5bf86e2023-12-12 16:27:28 +080037$(call soong_config_set,pixel_audio_hal_type,aidl_build,true)