# SPDX-License-Identifier: Apache-2.0
#
+function blob_fixup() {
+ case "${1}" in
+ vendor/etc/init/tee-supplicant.rc)
+ [ "$2" = "" ] && return 0
+ sed -i 's#/vendor/lib/#/vendor/lib/modules/#g' "${2}"
+ ;;
+ *)
+ return 1
+ ;;
+ esac
+
+ return 0
+}
+
+function blob_fixup_dry() {
+ blob_fixup "$1" ""
+}
+
# If we're being sourced by the common script that we called,
# stop right here. No need to go down the rabbit hole.
if [ "${BASH_SOURCE[0]}" != "${0}" ]; then
odm/lib/libHwAudio_dcvdec.so
odm/lib/libHwAudio_dtshd.so
-## TEE - SOC Specific
+## OEM Lock
+vendor/bin/hw/android.hardware.oemlock@1.0-service.droidlogic
+vendor/etc/init/android.hardware.oemlock@1.0-service.droidlogic.rc
+vendor/etc/vintf/manifest/android.hardware.oemlock@1.0-service.droidlogic.xml
+
+## Playready
+vendor/bin/hw/android.hardware.drm@1.4-service.playready
+vendor/etc/drm/playready/bgroupcert.dat
+vendor/etc/drm/playready/zgpriv.dat
+vendor/etc/drm/playready/zgpriv_protected.dat
+vendor/etc/init/android.hardware.drm@1.4-service.playready.rc
+vendor/etc/vintf/manifest/manifest_android.hardware.drm@1.4-service.playready.xml
+vendor/lib/libplayready.so
+vendor/lib/libplayreadymediadrmplugin.so
+
+## TEE
vendor/bin/hw/android.hardware.security.keymint-service.amlogic
+vendor/bin/tee-supplicant
+vendor/bin/tee_preload_fw
+vendor/etc/init/android.hardware.security.keymint-service.amlogic.rc
+vendor/etc/init/tee-supplicant.rc
+vendor/etc/init/tee_preload_fw.rc
+vendor/etc/permissions/android.hardware.hardware_keystore.amlogic.xml
+vendor/etc/vintf/manifest/android.hardware.security.keymint-service.amlogic.xml
+vendor/lib/libtee_load_video_fw.so
+vendor/lib/libteec.so
## TEE Applets
vendor/lib/teetz/2c1a33c0-44cc-11e5-bc3b-0002a5d5c51b.ta