Jelajahi Sumber

sm8450-common: Rename prebuilt libgrpc++_unsecure.so for QCC

Change-Id: Ie0e28f1d620f5304b442698c7fc7e1d859934b67
Cosmin Tanislav 10 bulan lalu
induk
melakukan
d091666af7
2 mengubah file dengan 8 tambahan dan 2 penghapusan
  1. 6 0
      extract-files.sh
  2. 2 2
      proprietary-files.txt

+ 6 - 0
extract-files.sh

@@ -71,6 +71,9 @@ function blob_fixup() {
             "${PATCHELF_0_17_2}" --replace-needed "android.hardware.security.sharedsecret-V1-ndk_platform.so" "android.hardware.security.sharedsecret-V1-ndk.so" "${2}"
             grep -q "android.hardware.security.rkp-V1-ndk.so" "${2}" || "${PATCHELF_0_17_2}" --add-needed "android.hardware.security.rkp-V1-ndk.so" "${2}"
             ;;
+        vendor/bin/qcc-trd)
+            "${PATCHELF_0_17_2}" --replace-needed "libgrpc++_unsecure.so" "libgrpc++_unsecure_prebuilt.so" "${2}"
+            ;;
         vendor/etc/init/init.embmssl_server.rc)
             sed -i '/interface/d' "${2}"
             ;;
@@ -86,6 +89,9 @@ function blob_fixup() {
         vendor/etc/vintf/manifest/c2_manifest_vendor.xml)
             sed -i '/dolby/d' "${2}"
             ;;
+        vendor/lib64/libgrpc++_unsecure_prebuilt.so)
+            "${PATCHELF_0_17_2}" --set-soname "libgrpc++_unsecure_prebuilt.so" "${2}"
+            ;;
     esac
 }
 

+ 2 - 2
proprietary-files.txt

@@ -614,10 +614,10 @@ system_ext/lib64/[email protected]|9663f4512a1e33956a
 system_ext/lib64/[email protected]|db1ea124c0f42fcc1a814d69308d4f9522012e1b
 system_ext/lib64/[email protected]|15a47e8d6f3746e3cb3baa91577f206a1089edd5
 system_ext/lib64/vendor.qti.qccvndhal_aidl-V1-ndk.so|ffccfde321f48e390c5af8d546e1c7cdf23f9152
-vendor/bin/qcc-trd|146a8d4ba56aebee8056f988159358943dc148c9
+vendor/bin/qcc-trd|146a8d4ba56aebee8056f988159358943dc148c9|a92ef8c6452a8a7c6909b8f185ed959282349bb0
 vendor/etc/init/init.qdmastats.rc|d7ddb87faaedd900f1756064fe756d50efed7ca9
 vendor/lib64/hw/[email protected]|459d506b20124520f5d650a7b30c9a490514a878
-vendor/lib64/libgrpc++_unsecure.so|e0363df07498ac7f3beb9e6f017d79e2bbc53c9c
+vendor/lib64/libgrpc++_unsecure.so:vendor/lib64/libgrpc++_unsecure_prebuilt.so|e0363df07498ac7f3beb9e6f017d79e2bbc53c9c|e6363ed5a2a8d2648ab7f9d999491d2ca54d9a18
 vendor/lib64/libqcc_file_agent.so|2062da8684a791c3c8afe57f8be3d2b010337a8a
 vendor/lib64/[email protected];[email protected]|ef866bab2186db1b2c09477e36fef20945fa671e
 vendor/lib64/[email protected];[email protected]|0677ebfe099cdaa6c3776d0bd5318044a4220918