audio: separate audio hal hidl/aidl by project

Bug: 317444263
Bug: 317733172
Test: boot to home, check basic audio functions

Change-Id: I034b4958b3fc701569988618f5428c07c8d61c15
Signed-off-by: Jasmine Cha <chajasmine@google.com>
This commit is contained in:
Jasmine Cha 2023-12-22 10:28:42 +08:00
parent e40fe7223e
commit 1e19480c70
2 changed files with 3 additions and 1 deletions

View File

@ -1,3 +1,5 @@
USE_AUDIO_HAL_AIDL := true
DEVICE_MANIFEST_FILE += device/google/gs-common/audio/aidl/manifest.xml DEVICE_MANIFEST_FILE += device/google/gs-common/audio/aidl/manifest.xml
# Audio HALs # Audio HALs

View File

@ -6,7 +6,7 @@ PRODUCT_PACKAGES += \
libmahalcontroller \ libmahalcontroller \
libAlgFx_HiFi3z libAlgFx_HiFi3z
ifneq ($(RELEASE_PIXEL_AIDL_AUDIO_HAL),true) ifneq ($(USE_AUDIO_HAL_AIDL),true)
## AudioHAL Configurations ## AudioHAL Configurations
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
frameworks/av/services/audiopolicy/config/a2dp_audio_policy_configuration_7_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_audio_policy_configuration_7_0.xml \ frameworks/av/services/audiopolicy/config/a2dp_audio_policy_configuration_7_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_audio_policy_configuration_7_0.xml \