diff --git a/Android.bp b/Android.bp index 423496a..8cc3b08 100644 --- a/Android.bp +++ b/Android.bp @@ -2673,6 +2673,69 @@ cc_prebuilt_library_shared { soc_specific: true, } +cc_prebuilt_library_shared { + name: "libaudioparsers", + owner: "xiaomi", + strip: { + none: true, + }, + target: { + android_arm: { + srcs: [ + "proprietary/vendor/lib/libaudioparsers.so", + ], + shared_libs: [ + "libutils", + "liblog", + "libc++", + "libc", + "libm", + "libdl", + ], + }, + }, + compile_multilib: "32", + prefer: true, + soc_specific: true, +} + +cc_prebuilt_library_shared { + name: "libbatterylistener", + owner: "xiaomi", + strip: { + none: true, + }, + target: { + android_arm: { + srcs: [ + "proprietary/vendor/lib/libbatterylistener.so", + ], + shared_libs: [ + "android.hardware.health@1.0", + "android.hardware.health@2.0", + "android.hardware.power@1.2", + "libaudioroute", + "libaudioutils", + "libbase", + "libcutils", + "libexpat", + "libhidlbase", + "liblog", + "libtinyalsa", + "libtinycompress", + "libutils", + "libc++", + "libc", + "libm", + "libdl", + ], + }, + }, + compile_multilib: "32", + prefer: true, + soc_specific: true, +} + cc_prebuilt_library_shared { name: "libbluetooth_audio_session_qti", owner: "xiaomi", @@ -2817,6 +2880,37 @@ cc_prebuilt_library_shared { soc_specific: true, } +cc_prebuilt_library_shared { + name: "libcomprcapture", + owner: "xiaomi", + strip: { + none: true, + }, + target: { + android_arm: { + srcs: [ + "proprietary/vendor/lib/libcomprcapture.so", + ], + shared_libs: [ + "libaudioutils", + "libcutils", + "liblog", + "libtinyalsa", + "libtinycompress", + "libaudioroute", + "libexpat", + "libc++", + "libc", + "libm", + "libdl", + ], + }, + }, + compile_multilib: "32", + prefer: true, + soc_specific: true, +} + cc_prebuilt_library_shared { name: "libdeccfg", owner: "xiaomi", @@ -2871,6 +2965,37 @@ cc_prebuilt_library_shared { soc_specific: true, } +cc_prebuilt_library_shared { + name: "libexthwplugin", + owner: "xiaomi", + strip: { + none: true, + }, + target: { + android_arm: { + srcs: [ + "proprietary/vendor/lib/libexthwplugin.so", + ], + shared_libs: [ + "libaudioroute", + "libaudioutils", + "libcutils", + "libexpat", + "liblog", + "libtinyalsa", + "libtinycompress", + "libc++", + "libc", + "libm", + "libdl", + ], + }, + }, + compile_multilib: "32", + prefer: true, + soc_specific: true, +} + cc_prebuilt_library_shared { name: "libfastcrc", owner: "xiaomi", @@ -3002,6 +3127,100 @@ cc_prebuilt_library_shared { soc_specific: true, } +cc_prebuilt_library_shared { + name: "libhdmiedid", + owner: "xiaomi", + strip: { + none: true, + }, + target: { + android_arm: { + srcs: [ + "proprietary/vendor/lib/libhdmiedid.so", + ], + shared_libs: [ + "libaudioutils", + "libcutils", + "liblog", + "libtinyalsa", + "libtinycompress", + "libaudioroute", + "libexpat", + "libc++", + "libc", + "libm", + "libdl", + ], + }, + }, + compile_multilib: "32", + prefer: true, + soc_specific: true, +} + +cc_prebuilt_library_shared { + name: "libhdmipassthru", + owner: "xiaomi", + strip: { + none: true, + }, + target: { + android_arm: { + srcs: [ + "proprietary/vendor/lib/libhdmipassthru.so", + ], + shared_libs: [ + "libaudioparsers", + "libaudioroute", + "libaudioutils", + "libcutils", + "libexpat", + "liblog", + "libtinyalsa", + "libtinycompress", + "libc++", + "libc", + "libm", + "libdl", + ], + }, + }, + compile_multilib: "32", + prefer: true, + soc_specific: true, +} + +cc_prebuilt_library_shared { + name: "libhfp", + owner: "xiaomi", + strip: { + none: true, + }, + target: { + android_arm: { + srcs: [ + "proprietary/vendor/lib/libhfp.so", + ], + shared_libs: [ + "libaudioroute", + "libaudioutils", + "libcutils", + "libexpat", + "liblog", + "libtinyalsa", + "libtinycompress", + "libc++", + "libc", + "libm", + "libdl", + ], + }, + }, + compile_multilib: "32", + prefer: true, + soc_specific: true, +} + cc_prebuilt_library_shared { name: "liblistensoundmodel2", owner: "xiaomi", @@ -3400,6 +3619,68 @@ cc_prebuilt_library_shared { soc_specific: true, } +cc_prebuilt_library_shared { + name: "libsndmonitor", + owner: "xiaomi", + strip: { + none: true, + }, + target: { + android_arm: { + srcs: [ + "proprietary/vendor/lib/libsndmonitor.so", + ], + shared_libs: [ + "libaudioutils", + "libcutils", + "liblog", + "libtinyalsa", + "libtinycompress", + "libaudioroute", + "libexpat", + "libc++", + "libc", + "libm", + "libdl", + ], + }, + }, + compile_multilib: "32", + prefer: true, + soc_specific: true, +} + +cc_prebuilt_library_shared { + name: "libspkrprot", + owner: "xiaomi", + strip: { + none: true, + }, + target: { + android_arm: { + srcs: [ + "proprietary/vendor/lib/libspkrprot.so", + ], + shared_libs: [ + "libaudioutils", + "libcutils", + "liblog", + "libtinyalsa", + "libtinycompress", + "libaudioroute", + "libexpat", + "libc++", + "libc", + "libm", + "libdl", + ], + }, + }, + compile_multilib: "32", + prefer: true, + soc_specific: true, +} + cc_prebuilt_library_shared { name: "libssrec", owner: "xiaomi", diff --git a/proprietary/vendor/lib/libaudioparsers.so b/proprietary/vendor/lib/libaudioparsers.so new file mode 100644 index 0000000..75d4f92 Binary files /dev/null and b/proprietary/vendor/lib/libaudioparsers.so differ diff --git a/proprietary/vendor/lib/libbatterylistener.so b/proprietary/vendor/lib/libbatterylistener.so new file mode 100644 index 0000000..445881e Binary files /dev/null and b/proprietary/vendor/lib/libbatterylistener.so differ diff --git a/proprietary/vendor/lib/libcomprcapture.so b/proprietary/vendor/lib/libcomprcapture.so new file mode 100644 index 0000000..23d6f3a Binary files /dev/null and b/proprietary/vendor/lib/libcomprcapture.so differ diff --git a/proprietary/vendor/lib/libexthwplugin.so b/proprietary/vendor/lib/libexthwplugin.so new file mode 100644 index 0000000..4462fc7 Binary files /dev/null and b/proprietary/vendor/lib/libexthwplugin.so differ diff --git a/proprietary/vendor/lib/libhdmiedid.so b/proprietary/vendor/lib/libhdmiedid.so new file mode 100644 index 0000000..4644402 Binary files /dev/null and b/proprietary/vendor/lib/libhdmiedid.so differ diff --git a/proprietary/vendor/lib/libhdmipassthru.so b/proprietary/vendor/lib/libhdmipassthru.so new file mode 100644 index 0000000..f1aabea Binary files /dev/null and b/proprietary/vendor/lib/libhdmipassthru.so differ diff --git a/proprietary/vendor/lib/libhfp.so b/proprietary/vendor/lib/libhfp.so new file mode 100644 index 0000000..8dfb419 Binary files /dev/null and b/proprietary/vendor/lib/libhfp.so differ diff --git a/proprietary/vendor/lib/libsndmonitor.so b/proprietary/vendor/lib/libsndmonitor.so new file mode 100644 index 0000000..ca1e2f0 Binary files /dev/null and b/proprietary/vendor/lib/libsndmonitor.so differ diff --git a/proprietary/vendor/lib/libspkrprot.so b/proprietary/vendor/lib/libspkrprot.so new file mode 100644 index 0000000..a7c7530 Binary files /dev/null and b/proprietary/vendor/lib/libspkrprot.so differ diff --git a/sm8250-common-vendor.mk b/sm8250-common-vendor.mk index a9870d5..5b0afd2 100644 --- a/sm8250-common-vendor.mk +++ b/sm8250-common-vendor.mk @@ -212,18 +212,25 @@ PRODUCT_PACKAGES += \ libadm \ libadpcmdec \ libaudcal \ + libaudioparsers \ + libbatterylistener \ libbluetooth_audio_session_qti \ libbluetooth_audio_session_qti_2_1 \ libcapiv2svacnn \ libcapiv2svarnn \ libcapiv2vop \ + libcomprcapture \ libdeccfg \ libdsd2pcm \ + libexthwplugin \ libfastcrc \ libgcs-calwrapper \ libgcs-ipc \ libgcs-osal \ libgcs \ + libhdmiedid \ + libhdmipassthru \ + libhfp \ liblistensoundmodel2 \ libmm-hdcpmgr \ libmmosal_vendor \ @@ -238,6 +245,8 @@ PRODUCT_PACKAGES += \ libqcodec2_v4l2codec \ libqtigef \ libsmwrapper \ + libsndmonitor \ + libspkrprot \ libssrec \ libstagefright_soft_ac4dec \ libstagefright_soft_ddpdec \