common: audio: Build all packages missing from SoC configuration.

* Also declare MIDI support like CAF does for all targets.

Change-Id: Icdbbc7a619867d72b8cebf03e481a8c8b00c665b
This commit is contained in:
Alexander Koskovich 2021-03-20 19:15:51 -07:00
parent c50d67a2db
commit f7ed6f7cd1
1 changed files with 30 additions and 2 deletions

View File

@ -29,13 +29,41 @@ AUDIO_FEATURE_ENABLED_DYNAMIC_LOG := false
AUDIO_FEATURE_ENABLED_SSR := false AUDIO_FEATURE_ENABLED_SSR := false
BOARD_SUPPORTS_OPENSOURCE_STHAL := false BOARD_SUPPORTS_OPENSOURCE_STHAL := false
# OMX Packages
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
libOmxAacEnc \ libOmxAacEnc \
libOmxAmrEnc \ libOmxAmrEnc \
libOmxEvrcEnc \ libOmxEvrcEnc \
libOmxG711Enc \ libOmxG711Enc \
libOmxQcelp13Enc \ libOmxQcelp13Enc
libaudiohal
# Audio Packages
PRODUCT_PACKAGES += \
audio.a2dp.default \
audio.primary.$(TARGET_BOARD_PLATFORM) \
audio.r_submix.default \
audio.usb.default \
liba2dpoffload \
libaudiohal \
libaudio-resampler \
libaudioroute \
libbatterylistener \
libcirrusspkrprot \
libcomprcapture \
libexthwplugin \
libhdmiedid \
libhfp \
libqcompostprocbundle \
libqcomvisualizer \
libqcomvoiceprocessing \
libsndmonitor \
libspkrprot \
libtinycompress \
libvolumelistener
# Permissions
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.software.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml
# Get non-open-source specific aspects. # Get non-open-source specific aspects.
$(call inherit-product-if-exists, vendor/qcom/common/audio/audio-vendor.mk) $(call inherit-product-if-exists, vendor/qcom/common/audio/audio-vendor.mk)