From 9de8123872c6b5fa7607d0e0ab06ec95ac03a3e4 Mon Sep 17 00:00:00 2001 From: Tad Date: Sun, 17 Jun 2018 15:12:54 -0400 Subject: [PATCH] Deblobber: Don't build drmserver --- Scripts/Common/Deblob.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Scripts/Common/Deblob.sh b/Scripts/Common/Deblob.sh index 8e53eadc..c69858ea 100755 --- a/Scripts/Common/Deblob.sh +++ b/Scripts/Common/Deblob.sh @@ -98,7 +98,7 @@ echo "Deblobbing..." blobs=$blobs"|lib-sec-disp.so|libSecureUILib.so|libsecureui.so|libsecureuisvc_jni.so|libsecureui_svcsock.so"; blobs=$blobs"|liboemcrypto.so|libtzdrmgenprov.so"; blobs=$blobs"|libpvr.so|librmp.so|libsi.so|libSSEPKCS11.so"; - makes=$makes"android.hardware.drm.*"; + makes=$makes"|android.hardware.drm.*|drm|mediadrmserver|libdrmclearkeyplugin|libdrmframework.*|com.android.mediadrm.signer.*|drmserver"; sepolicy=$sepolicy" drmserver.te hal_drm_default.te hal_drm.te hal_drm_widevine.te mediadrmserver.te"; #Face Unlock [Google] @@ -392,6 +392,7 @@ export -f deblobVendor; # #START OF DEBLOBBING # +find build -name "*.mk" -type f -exec bash -c 'awk -i inplace "!/$makes/" "$0"' {} \; #Deblob all makefiles find device -maxdepth 2 -mindepth 2 -type d -exec bash -c 'deblobDevice "$0"' {} \; #Deblob all device directories find device -maxdepth 3 -mindepth 2 -type d -exec bash -c 'deblobSepolicy "$0"' {} \; #Deblob all device sepolicy directories #find kernel -maxdepth 2 -mindepth 2 -type d -exec bash -c 'deblobKernel "$0"' {} \; #Deblob all kernel directories