Skip to content

Commit

Permalink
garnet: Use libhidlbase_shim for vendor.libdpmframework
Browse files Browse the repository at this point in the history
Change-Id: Iefe50b82b5b13bbdee10819a0c60c14240fab7ce
  • Loading branch information
webgeek1234 authored and kleidione committed Jan 18, 2025
1 parent e8edaad commit df2046c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions device.mk
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,10 @@ PRODUCT_COPY_FILES += \
PRODUCT_PACKAGES += \
vendor.qti.hardware.servicetracker@1.2.vendor

# Shims
PRODUCT_PACKAGES += \
libhidlbase_shim

# Soong namespaces
PRODUCT_SOONG_NAMESPACES += \
$(LOCAL_PATH) \
Expand Down
6 changes: 5 additions & 1 deletion extract-files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,11 @@ function blob_fixup() {
vendor/etc/media_codecs_parrot_v0.xml)
[ "$2" = "" ] && return 0
sed -i -E '/media_codecs_(google_audio|google_c2|google_telephony|vendor_audio)/d' "${2}"
;;
;;
vendor/lib64/vendor.libdpmframework.so)
[ "$2" = "" ] && return 0
grep -q "libhidlbase_shim.so" "${2}" || "${PATCHELF}" --add-needed "libhidlbase_shim.so" "${2}"
;;
*)
return 1
;;
Expand Down

0 comments on commit df2046c

Please sign in to comment.