audio: add audio hal aidl service
- separate audio hal HIDL and AIDL services.
- separate sepolicy of aoc and audio
Bug: 259161622
Test: build pass and check hidl/aidl on gs201
build pass for other chipset
Change-Id: Id3c0446be6cdcd5a6e75c832e7d7f4a64716f79c
Signed-off-by: Jasmine Cha <chajasmine@google.com>
diff --git a/audio/hidl_zuma.mk b/audio/hidl_zuma.mk
new file mode 100644
index 0000000..980d5fb
--- /dev/null
+++ b/audio/hidl_zuma.mk
@@ -0,0 +1,38 @@
+DEVICE_MANIFEST_FILE += device/google/gs-common/audio/hidl/manifest.xml
+
+# Audio HAL Server & Default Implementations
+PRODUCT_PACKAGES += \
+ android.hardware.audio.service \
+ android.hardware.audio@7.1-impl \
+ android.hardware.audio.effect@7.0-impl \
+ android.hardware.soundtrigger@2.3-impl \
+ vendor.google.whitechapel.audio.audioext@4.0-impl \
+ android.hardware.bluetooth.audio-impl \
+
+#Audio HAL libraries
+PRODUCT_PACKAGES += \
+ audio.primary.$(TARGET_BOARD_PLATFORM) \
+ audio.platform.aoc \
+ audio_tunnel_aoc \
+ aoc_aud_ext \
+ libaoctuningdecoder \
+ liboffloadeffect \
+ audio_bt_aoc \
+ audio_waves_aoc \
+ audio_fortemedia_aoc \
+ audio_bluenote_aoc \
+ audio_usb_aoc \
+ libamcsextfile \
+ audio_amcs_ext \
+ audio.usb.default \
+ audio.usbv2.default \
+ audio.bluetooth.default \
+ audio.r_submix.default \
+ audio_spk_35l41 \
+ sound_trigger.primary.$(TARGET_BOARD_PLATFORM)
+
+BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/audio/sepolicy/hidl
+
+include device/google/gs-common/audio/common.mk
+
+DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += device/google/gs-common/audio/hidl/device_framework_matrix_product.xml