1BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/audio/sepolicy/common
2
3#Audio Vendor libraries
4PRODUCT_PACKAGES += \
5	libfvsam_prm_parser \
6	libmahalcontroller \
7	libAlgFx_HiFi3z
8
9ifneq ($(USE_AUDIO_HAL_AIDL),true)
10## AudioHAL Configurations
11PRODUCT_COPY_FILES += \
12	frameworks/av/services/audiopolicy/config/a2dp_audio_policy_configuration_7_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_audio_policy_configuration_7_0.xml \
13	frameworks/av/services/audiopolicy/config/a2dp_in_audio_policy_configuration_7_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_in_audio_policy_configuration_7_0.xml \
14	frameworks/av/services/audiopolicy/config/hearing_aid_audio_policy_configuration_7_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/hearing_aid_audio_policy_configuration_7_0.xml \
15	frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml \
16	frameworks/av/services/audiopolicy/config/usb_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/usb_audio_policy_configuration.xml \
17	frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
18	frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \
19	frameworks/av/services/audiopolicy/config/bluetooth_audio_policy_configuration_7_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration_7_0.xml
20
21endif
22
23## TODO(b/271958194): separate for hidl and aidl.
24PRODUCT_SOONG_NAMESPACES += \
25	vendor/google/whitechapel/audio/hal \
26	vendor/google/whitechapel/audio/interfaces
27
28$(call soong_config_set,aoc_audio_board,platform,$(TARGET_BOARD_PLATFORM))
29