sm6150-common: Fix vendor.qti.imsrtpservice@3.0 ELF checks

Change-Id: Ia1995d0a3360317843685082e3226ab30f124d09
This commit is contained in:
Cosmin Tanislav 2024-08-17 02:03:24 +03:00 committed by basamaryan
parent a87fd82b03
commit 206042cc95
No known key found for this signature in database
GPG Key ID: 707BA6C82329E8F9
2 changed files with 22 additions and 1 deletions

View File

@ -326,7 +326,7 @@ vendor/etc/seccomp_policy/imsrtp.policy
-vendor/lib64/vendor.qti.ims.rcsconfig@2.0.so
-vendor/lib64/vendor.qti.ims.rcsconfig@2.1.so
-vendor/lib64/vendor.qti.imsrtpservice@3.0-service-Impl.so
-vendor/lib64/vendor.qti.imsrtpservice@3.0.so
-vendor/lib64/vendor.qti.imsrtpservice@3.0.so;MODULE_SUFFIX=_vendor
# IPA
vendor/etc/init/ipa_fws.rc

View File

@ -33,6 +33,27 @@ function vendor_imports() {
EOF
}
function lib_to_package_fixup_vendor_variants() {
if [ "$2" != "vendor" ]; then
return 1
fi
case "$1" in
vendor.qti.imsrtpservice@3.0)
echo "$1_vendor"
;;
*)
return 1
;;
esac
}
function lib_to_package_fixup() {
lib_to_package_fixup_clang_rt_ubsan_standalone "$1" ||
lib_to_package_fixup_proto_3_9_1 "$1" ||
lib_to_package_fixup_vendor_variants "$@"
}
# Initialize the helper for common
setup_vendor "${DEVICE_COMMON}" "${VENDOR_COMMON:-$VENDOR}" "${ANDROID_ROOT}" true