From d507b287dd85b998bc90fc3e72fe74e183294cca Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Sat, 26 Oct 2024 00:46:17 +0300 Subject: [PATCH] comet: Add PixelImsMediaService Change-Id: I2bf94759e28bea4ca8afe4d79bc5c6328f84e51d --- comet/extract-files.sh | 2 ++ comet/proprietary-files-vendor.txt | 4 ++-- comet/proprietary-files.txt | 4 ++++ comet/setup-makefiles.sh | 4 +++- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/comet/extract-files.sh b/comet/extract-files.sh index e1ca8eb..a618a34 100755 --- a/comet/extract-files.sh +++ b/comet/extract-files.sh @@ -116,6 +116,8 @@ if [ -z "${ONLY_FIRMWARE}" ]; then set_module_suffix "vendor/lib64/com.google.edgetpu_app_service-V4-ndk.so" "-vendor" "${VENDOR_TXT}" set_module_suffix "vendor/lib64/com.google.edgetpu_vendor_service-V2-ndk.so" "-vendor" "${VENDOR_TXT}" + set_module_suffix "vendor/lib64/vendor.google.whitechapel.audio.audioext@4.0.so" "-vendor" "${VENDOR_TXT}" + set_module_suffix "vendor/lib64/vendor.google.whitechapel.audio.extension-V2-ndk.so" "-vendor" "${VENDOR_TXT}" extract "${MY_DIR}/proprietary-files-vendor.txt" "${SRC}" "${KANG}" --section "${SECTION}" fi diff --git a/comet/proprietary-files-vendor.txt b/comet/proprietary-files-vendor.txt index c17e780..b845bd3 100644 --- a/comet/proprietary-files-vendor.txt +++ b/comet/proprietary-files-vendor.txt @@ -2847,8 +2847,8 @@ vendor/lib64/vendor.google.battery_mitigation-V1-ndk.so vendor/lib64/vendor.google.battery_mitigation.service_static.so vendor/lib64/vendor.google.bluetooth_ext-V1-ndk.so vendor/lib64/vendor.google.google_battery-V3-ndk.so -vendor/lib64/vendor.google.whitechapel.audio.audioext@4.0.so -vendor/lib64/vendor.google.whitechapel.audio.extension-V2-ndk.so +vendor/lib64/vendor.google.whitechapel.audio.audioext@4.0.so;MODULE_SUFFIX=-vendor +vendor/lib64/vendor.google.whitechapel.audio.extension-V2-ndk.so;MODULE_SUFFIX=-vendor vendor/lib64/vendor.google.whitechapel.audio.hal.audio.so vendor/lib64/vendor.google.whitechapel.audio.hal.audio.sound_dose.aoc.so vendor/lib64/vendor.google.whitechapel.audio.hal.effect.so diff --git a/comet/proprietary-files.txt b/comet/proprietary-files.txt index c7f15fc..6f66d4a 100644 --- a/comet/proprietary-files.txt +++ b/comet/proprietary-files.txt @@ -119,6 +119,10 @@ system_ext/etc/permissions/com.android.qns.xml system_ext/etc/permissions/com.shannon.imsservice.xml system_ext/etc/permissions/com.shannon.rcsservice.xml system_ext/lib64/libmediaadaptor.so +system_ext/lib64/libpixelimsmedia.so +system_ext/lib64/vendor.google.whitechapel.audio.audioext@4.0.so +system_ext/lib64/vendor.google.whitechapel.audio.extension-V2-ndk.so +system_ext/priv-app/PixelImsMediaService/PixelImsMediaService.apk system_ext/priv-app/PixelQualifiedNetworksService/PixelQualifiedNetworksService.apk system_ext/priv-app/ShannonIms/ShannonIms.apk;PRESIGNED system_ext/priv-app/ShannonRcs/ShannonRcs.apk;PRESIGNED diff --git a/comet/setup-makefiles.sh b/comet/setup-makefiles.sh index c8a7b0b..1941660 100755 --- a/comet/setup-makefiles.sh +++ b/comet/setup-makefiles.sh @@ -41,7 +41,9 @@ function lib_to_package_fixup_vendor_variants() { case "$1" in com.google.edgetpu_app_service-V4-ndk | \ - com.google.edgetpu_vendor_service-V2-ndk) + com.google.edgetpu_vendor_service-V2-ndk | \ + vendor.google.whitechapel.audio.audioext@4.0 | \ + vendor.google.whitechapel.audio.extension-V2-ndk) echo "$1-vendor" ;; libprotobuf-cpp-full-21.12)