exynos9610: remove libhidltransport/libhwbinder dependencies from proprietary files
authorJan Altensen <info@stricted.net>
Wed, 30 Sep 2020 03:37:30 +0000 (05:37 +0200)
committerJan Altensen <info@stricted.net>
Sun, 1 Nov 2020 02:08:07 +0000 (03:08 +0100)
Change-Id: Ic48d4cdf62a3daf855b855c932327c38c842dba7

extract-files.sh

index fe51629ad125c742f2781dc3483e49be22afec88..fe0a32e0b32c1afd2b66884fc20853c8ee1cff1a 100755 (executable)
@@ -74,4 +74,64 @@ patchelf --replace-needed libmedia.so libmedia_ims.so $BLOB_ROOT/lib64/libmediaa
 patchelf --add-needed libaudioproxy_shim.so $BLOB_ROOT/vendor/lib/libaudioproxy.so
 patchelf --add-needed libmemset.so $BLOB_ROOT/vendor/bin/charge_only_mode
 
+# Remove libhidltransport dependency
+patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service-rbs
+patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/bin/hw/android.hardware.drm@1.2-service.widevine
+patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/bin/hw/android.hardware.nfc@1.2-service.sec
+patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/bin/hw/android.hardware.secure_element@1.1-service-uicc
+patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/bin/hw/vendor.dolby.hardware.dms@1.0-service
+patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/bin/hw/vendor.samsung.hardware.gnss@1.0-service
+patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib/hw/vendor.egistec.hardware.fingerprint@4.0-impl.so
+patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib/libGrallocWrapper.so
+patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib/libsitril-client.so
+patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib/libwvhidl.so
+patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib/nfc_nci_sec.so
+patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib/vendor.dolby.hardware.dms@1.0.so
+patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib/vendor.egistec.hardware.fingerprint@4.0.so
+patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib/vendor.samsung_slsi.telephony.hardware.oemservice@1.0.so
+patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib/vendor.samsung_slsi.telephony.hardware.radio@1.0.so
+patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib/vendor.samsung_slsi.telephony.hardware.radio@1.1.so
+patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib/vendor.samsung_slsi.telephony.hardware.radioExternal@1.0.so
+patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib64/hw/android.hardware.gnss@1.0-impl.samsung.so
+patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib64/hw/android.hardware.gnss@1.1-impl.samsung.so
+patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib64/hw/android.hardware.gnss@2.0-impl.samsung.so
+patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib64/hw/vendor.egistec.hardware.fingerprint@4.0-impl.so
+patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib64/hw/vendor.samsung.hardware.gnss@1.0-impl.so
+patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib64/libGrallocWrapper.so
+patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib64/libsitril-client.so
+patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib64/nfc_nci_sec.so
+patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib64/vendor.dolby.hardware.dms@1.0-impl.so
+patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib64/vendor.dolby.hardware.dms@1.0.so
+patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib64/vendor.egistec.hardware.fingerprint@4.0.so
+patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib64/vendor.samsung.hardware.gnss@1.0.so
+patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib64/vendor.samsung_slsi.telephony.hardware.oemservice@1.0.so
+patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib64/vendor.samsung_slsi.telephony.hardware.radio@1.0.so
+patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib64/vendor.samsung_slsi.telephony.hardware.radio@1.1.so
+patchelf --remove-needed libhidltransport.so $BLOB_ROOT/vendor/lib64/vendor.samsung_slsi.telephony.hardware.radioExternal@1.0.so
+
+# Remove libhwbinder dependency
+patchelf --remove-needed libhwbinder.so $BLOB_ROOT/vendor/bin/hw/android.hardware.drm@1.2-service.widevine
+patchelf --remove-needed libhwbinder.so $BLOB_ROOT/vendor/bin/hw/android.hardware.nfc@1.2-service.sec
+patchelf --remove-needed libhwbinder.so $BLOB_ROOT/vendor/bin/hw/android.hardware.secure_element@1.1-service-uicc
+patchelf --remove-needed libhwbinder.so $BLOB_ROOT/vendor/lib/libsitril-client.so
+patchelf --remove-needed libhwbinder.so $BLOB_ROOT/vendor/lib/libwvhidl.so
+patchelf --remove-needed libhwbinder.so $BLOB_ROOT/vendor/lib/vendor.dolby.hardware.dms@1.0.so
+patchelf --remove-needed libhwbinder.so $BLOB_ROOT/vendor/lib/vendor.egistec.hardware.fingerprint@4.0.so
+patchelf --remove-needed libhwbinder.so $BLOB_ROOT/vendor/lib/vendor.samsung_slsi.telephony.hardware.oemservice@1.0.so
+patchelf --remove-needed libhwbinder.so $BLOB_ROOT/vendor/lib/vendor.samsung_slsi.telephony.hardware.radio@1.0.so
+patchelf --remove-needed libhwbinder.so $BLOB_ROOT/vendor/lib/vendor.samsung_slsi.telephony.hardware.radio@1.1.so
+patchelf --remove-needed libhwbinder.so $BLOB_ROOT/vendor/lib/vendor.samsung_slsi.telephony.hardware.radioExternal@1.0.so
+patchelf --remove-needed libhwbinder.so $BLOB_ROOT/vendor/lib64/hw/android.hardware.gnss@1.0-impl.samsung.so
+patchelf --remove-needed libhwbinder.so $BLOB_ROOT/vendor/lib64/hw/android.hardware.gnss@1.1-impl.samsung.so
+patchelf --remove-needed libhwbinder.so $BLOB_ROOT/vendor/lib64/hw/android.hardware.gnss@2.0-impl.samsung.so
+patchelf --remove-needed libhwbinder.so $BLOB_ROOT/vendor/lib64/hw/vendor.samsung.hardware.gnss@1.0-impl.so
+patchelf --remove-needed libhwbinder.so $BLOB_ROOT/vendor/lib64/libsitril-client.so
+patchelf --remove-needed libhwbinder.so $BLOB_ROOT/vendor/lib64/vendor.dolby.hardware.dms@1.0.so
+patchelf --remove-needed libhwbinder.so $BLOB_ROOT/vendor/lib64/vendor.egistec.hardware.fingerprint@4.0.so
+patchelf --remove-needed libhwbinder.so $BLOB_ROOT/vendor/lib64/vendor.samsung.hardware.gnss@1.0.so
+patchelf --remove-needed libhwbinder.so $BLOB_ROOT/vendor/lib64/vendor.samsung_slsi.telephony.hardware.oemservice@1.0.so
+patchelf --remove-needed libhwbinder.so $BLOB_ROOT/vendor/lib64/vendor.samsung_slsi.telephony.hardware.radio@1.0.so
+patchelf --remove-needed libhwbinder.so $BLOB_ROOT/vendor/lib64/vendor.samsung_slsi.telephony.hardware.radio@1.1.so
+patchelf --remove-needed libhwbinder.so $BLOB_ROOT/vendor/lib64/vendor.samsung_slsi.telephony.hardware.radioExternal@1.0.so
+
 "${MY_DIR}/setup-makefiles.sh"