1 2DEVICE_MANIFEST_FILE += device/google/gs-common/audio/aidl/manifest.xml 3 4# Audio HALs 5PRODUCT_PACKAGES += \ 6 android.hardware.audio.service-aidl.aoc \ 7 vendor.google.whitechapel.audio.hal.parserservice \ 8 9PRODUCT_PACKAGES += \ 10 libvisualizeraidl \ 11 libbundleaidl \ 12 libreverbaidl \ 13 libdynamicsprocessingaidl \ 14 libloudnessenhanceraidl \ 15 libdownmixaidl \ 16 libhapticgeneratoraidl \ 17 18BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/audio/sepolicy/aidl 19ifeq ($(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 24 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 28 29PRODUCT_PROPERTY_OVERRIDES += \ 30 vendor.audio_hal.aidl.enable=true 31PRODUCT_SYSTEM_EXT_PROPERTIES += \ 32 ro.audio.ihaladaptervendorextension_enabled=true 33 34ifneq (,$(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 41$(call soong_config_set,pixel_audio_hal_type,aidl_build,true) 42