summaryrefslogtreecommitdiff
path: root/audio/husky/audio-tables.mk
diff options
context:
space:
mode:
Diffstat (limited to 'audio/husky/audio-tables.mk')
-rw-r--r--audio/husky/audio-tables.mk11
1 files changed, 4 insertions, 7 deletions
diff --git a/audio/husky/audio-tables.mk b/audio/husky/audio-tables.mk
index 8aae616..e1b429a 100644
--- a/audio/husky/audio-tables.mk
+++ b/audio/husky/audio-tables.mk
@@ -16,14 +16,11 @@
AUDIO_TABLE_FOLDER := husky
-# Enable this to build AIDL
-# BUILD_AUDIO_AIDL_VERSION := true
+# Choose AIDL config by build flag.
+ifeq ($(RELEASE_PIXEL_AIDL_AUDIO_HAL),true)
+PRODUCT_SOONG_NAMESPACES += device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/aidl_config
+PRODUCT_PACKAGES += audio_aidl_configs
-ifeq ($(BUILD_AUDIO_AIDL_VERSION),true)
-PRODUCT_COPY_FILES += \
- device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/aidl_config/audio_platform_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_configuration.xml \
- device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/aidl_config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
- device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/aidl_config/mixer_paths_aidl.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_aidl.xml
else
# Platform Configuration for AudioHAL / SoundTriggerHAL
PRODUCT_COPY_FILES += \