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/aidl.mk b/audio/aidl.mk
new file mode 100644
index 0000000..1044148
--- /dev/null
+++ b/audio/aidl.mk
@@ -0,0 +1,11 @@
+DEVICE_MANIFEST_FILE += device/google/gs-common/audio/aidl/manifest.xml
+
+# Audio HALs
+PRODUCT_PACKAGES += \
+ android.hardware.audio.service-aidl.aoc
+
+BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/audio/sepolicy/aidl
+
+include device/google/gs-common/audio/common.mk
+
+DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += device/google/gs-common/audio/aidl/device_framework_matrix_product.xml