rosemary: Build libbluetooth_audio_session from source

The older VNDK 30 blob when linked against the newer default bluetooth
HW module, had a missing symbol:
`_ZN7android9bluetooth5audio25BluetoothAudioSession_2_132invalidOffloadAudioConfigurationE`

Since we build default bluetooth HW module from source, build
libbluetooth_audio_session from source as well.

Fixes: Bluetooth Audio on Android 12
Signed-off-by: Vaisakh Murali <mvaisakh@statixos.com>
Change-Id: I13c09ecc37f709c575103d108acf5ca1b5aa2553
This commit is contained in:
Vaisakh Murali
2022-11-12 14:11:30 +00:00
committed by Matsvei Niaverau
parent db590efb5c
commit 861bebbfd2
2 changed files with 2 additions and 3 deletions

View File

@@ -80,7 +80,8 @@ PRODUCT_COPY_FILES += \
# Bluetooth # Bluetooth
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
android.hardware.bluetooth@1.0.vendor \ android.hardware.bluetooth@1.0.vendor \
android.hardware.bluetooth@1.1.vendor android.hardware.bluetooth@1.1.vendor \
libbluetooth_audio_session
# Camera # Camera
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \

View File

@@ -212,7 +212,6 @@ vendor/bin/autobt
vendor/etc/init/android.hardware.bluetooth@1.0-service-mediatek.rc vendor/etc/init/android.hardware.bluetooth@1.0-service-mediatek.rc
vendor/etc/init/init.bip.rc vendor/etc/init/init.bip.rc
vendor/lib/hw/android.hardware.bluetooth@1.0-impl-mediatek.so vendor/lib/hw/android.hardware.bluetooth@1.0-impl-mediatek.so
vendor/lib/libbluetooth_audio_session.so
vendor/lib/libbluetooth_audio_session_mediatek.so vendor/lib/libbluetooth_audio_session_mediatek.so
vendor/lib/libbluetooth_hw_test.so vendor/lib/libbluetooth_hw_test.so
vendor/lib/libbluetooth_mtk.so vendor/lib/libbluetooth_mtk.so
@@ -221,7 +220,6 @@ vendor/lib/libbluetooth_relayer.so
vendor/lib/libbluetoothem_mtk.so vendor/lib/libbluetoothem_mtk.so
vendor/lib/libbt-vendor.so vendor/lib/libbt-vendor.so
vendor/lib64/hw/android.hardware.bluetooth@1.0-impl-mediatek.so vendor/lib64/hw/android.hardware.bluetooth@1.0-impl-mediatek.so
vendor/lib64/libbluetooth_audio_session.so
vendor/lib64/libbluetooth_audio_session_mediatek.so vendor/lib64/libbluetooth_audio_session_mediatek.so
vendor/lib64/libbluetooth_hw_test.so vendor/lib64/libbluetooth_hw_test.so
vendor/lib64/libbluetooth_mtk.so vendor/lib64/libbluetooth_mtk.so