blob: 68458dd17122676c1c1ed833cbf9135bd02b0a0e [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
Robert Lee5a063cc2024-10-28 06:18:49 +000019ifeq ($(AUDIO_USE_DPTX_SEPOLICY),true)
20BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/audio/sepolicy/hdmi_audio/dptx
21else
22BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/audio/sepolicy/hdmi_audio/drmdp
23endif
Jasmine Cha8e0e1062023-03-03 14:51:32 +080024
25include device/google/gs-common/audio/common.mk
26
27DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += device/google/gs-common/audio/aidl/device_framework_matrix_product.xml
Jasmine Cha6cd390e2023-03-13 09:41:44 +080028
29PRODUCT_PROPERTY_OVERRIDES += \
30 vendor.audio_hal.aidl.enable=true
Mikhail Naganov57cd0312024-02-06 20:01:42 -080031PRODUCT_SYSTEM_EXT_PROPERTIES += \
32 ro.audio.ihaladaptervendorextension_enabled=true
Jasmine Chae5bf86e2023-12-12 16:27:28 +080033
David Li15c9c332024-09-13 10:03:50 +000034ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
35$(call soong_config_set,aoc_audio_func,dump_usecase_data,true)
36$(call soong_config_set,aoc_audio_func,hal_socket_control,true)
37$(call soong_config_set,aoc_audio_func,record_tuning_keys,true)
38$(call soong_config_set,aoc_audio_func,aidl_command_interface,true)
39endif
40
Jasmine Chae5bf86e2023-12-12 16:27:28 +080041$(call soong_config_set,pixel_audio_hal_type,aidl_build,true)