diff --git a/Android.bp b/Android.bp index 7af73b4..27037e3 100644 --- a/Android.bp +++ b/Android.bp @@ -2204,6 +2204,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", @@ -2348,6 +2411,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", @@ -2377,6 +2471,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", @@ -2508,6 +2633,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", @@ -2906,6 +3125,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..e0cf6b6 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..c7e7e73 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..303fdc7 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..1393ec0 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..b3fca34 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..d58782f 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..912254a 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..e0629d2 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..b30efd4 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 d67638b..53478cb 100644 --- a/sm8250-common-vendor.mk +++ b/sm8250-common-vendor.mk @@ -191,17 +191,24 @@ PRODUCT_PACKAGES += \ libadm \ libadpcmdec \ libaudcal \ + libaudioparsers \ + libbatterylistener \ libbluetooth_audio_session_qti \ libbluetooth_audio_session_qti_2_1 \ libcapiv2svacnn \ libcapiv2svarnn \ libcapiv2vop \ + libcomprcapture \ libdeccfg \ + libexthwplugin \ libfastcrc \ libgcs-calwrapper \ libgcs-ipc \ libgcs-osal \ libgcs \ + libhdmiedid \ + libhdmipassthru \ + libhfp \ liblistensoundmodel2 \ libmm-hdcpmgr \ libmmosal_vendor \ @@ -216,6 +223,8 @@ PRODUCT_PACKAGES += \ libqcodec2_v4l2codec \ libqtigef \ libsmwrapper \ + libsndmonitor \ + libspkrprot \ libssrec \ libstagefright_soft_ac4dec \ libstagefright_soft_ddpdec \