sm8450-common: Add missing 32-bit libvmmem

32-bit display parts require it:
01-07 18:15:00.608  1854  6236 E qdgralloc: Could not load libvmmem: dlopen failed: library "libvmmem.so" not found

Change-Id: I82fd02d02c9024765369703a2a7f3de8069aa59b
This commit is contained in:
Arian 2025-01-07 19:59:36 +01:00
parent f614b52483
commit 3a21aef757
3 changed files with 40 additions and 27 deletions

View File

@ -807,6 +807,45 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libvmmem",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm: {
srcs: [
"proprietary/vendor/lib/libvmmem.so",
],
shared_libs: [
"liblog",
"libbase",
"libc++",
"libc",
"libm",
"libdl",
],
},
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libvmmem.so",
],
shared_libs: [
"liblog",
"libbase",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "both",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "vendor.qti.qspmhal@1.0",
owner: "xiaomi",
@ -9978,32 +10017,6 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libvmmem",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libvmmem.so",
],
shared_libs: [
"liblog",
"libbase",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libvppcommon",
owner: "xiaomi",

BIN
proprietary/vendor/lib/libvmmem.so vendored Normal file

Binary file not shown.

View File

@ -227,6 +227,7 @@ PRODUCT_PACKAGES += \
libllvm-glnext \
libllvm-qcom \
libllvm-qgl \
libvmmem \
vendor.qti.qspmhal@1.0 \
android.hardware.secure_element@1.0-impl \
btaudio_offload_if \
@ -528,7 +529,6 @@ PRODUCT_PACKAGES += \
libultrasound_notify \
libvideotxr \
libvideoutils \
libvmmem \
libvppcommon \
libvpphcp \
libvpphvx \