From 18591bc1342857402fccb0191515321651d7cb23 Mon Sep 17 00:00:00 2001 From: K9100ii Date: Tue, 25 Jun 2024 18:09:30 +0100 Subject: [PATCH] universal7885: Build a few necessary libraries, previously under VNDK VNDK has been deprecated, and libraries that were built implicitly under VNDK before aren't anymore. Build the few necessary ones explicitly to resolve the following: vndksupport: Could not load /vendor/lib/hw/audio.primary.exynos7904.so from default namespace: dlopen failed: library "libprocessgroup.so" not found: needed by /vendor/lib/hw/audio.primary.exynos7904.so in namespace (default). vndksupport: Could not load /vendor/lib/hw/audio.primary.exynos7904.so from default namespace: dlopen failed: library "libexpat.so" not found: needed by /vendor/lib/hw/audio.primary.exynos7904.so in namespace (default). vndksupport: Could not load /vendor/lib64/hw/camera.exynos7904.so from default namespace: dlopen failed: library "libexpat.so" not found: needed by /vendor/lib64/libsecnativefeature.so in namespace (default). dlopen failed: library "libnetutils.so" not found: needed by /vendor/lib64/libsec-ril.so in namespace (default) dlopen failed: library "libsqlite.so" not found: needed by /vendor/lib64/libsec-ril.so in namespace (default) dlopen failed: library "libnetutils.so" not found: needed by /vendor/lib64/libsec-ril-dsds.so in namespace (default) dlopen failed: library "libsqlite.so" not found: needed by /vendor/lib64/libsec-ril-dsds.so in namespace (default) Change-Id: I322a1873b03cbc7c520215cf9487f9274ffdc1b2 --- universal7885-common/universal7885-common.mk | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/universal7885-common/universal7885-common.mk b/universal7885-common/universal7885-common.mk index 1ceeba5..3ae2da6 100644 --- a/universal7885-common/universal7885-common.mk +++ b/universal7885-common/universal7885-common.mk @@ -28,7 +28,8 @@ PRODUCT_PACKAGES += \ android.hardware.audio.effect@7.0-impl \ libtinycompress \ audio.r_submix.default \ - audio.usb.default + audio.usb.default \ + libprocessgroup.vendor # Audio (BT) PRODUCT_PACKAGES += \ @@ -103,7 +104,8 @@ endif PRODUCT_PACKAGES += \ libGrallocWrapper \ - libacryl + libacryl \ + libexpat.vendor # Camera app PRODUCT_PACKAGES += \ @@ -317,7 +319,9 @@ PRODUCT_PACKAGES += \ android.hardware.radio@1.4.vendor \ android.hardware.radio@1.0 \ android.hardware.radio.config@1.2.vendor \ - android.hardware.radio.deprecated@1.0.vendor + android.hardware.radio.deprecated@1.0.vendor \ + libnetutils.vendor \ + libsqlite.vendor PRODUCT_PACKAGES += \ secril_config_svc