diff --git a/Android.bp b/Android.bp index 39097fd..f37e6b5 100644 --- a/Android.bp +++ b/Android.bp @@ -4630,6 +4630,38 @@ cc_prebuilt_library_shared { soc_specific: true, } +cc_prebuilt_library_shared { + name: "libswdap", + owner: "xiaomi", + strip: { + none: true, + }, + target: { + android_arm: { + srcs: [ + "proprietary/vendor/lib/soundfx/libswdap.so", + ], + shared_libs: [ + "liblog", + "libutils", + "libcutils", + "libaudioutils", + "libdapparamstorage", + "libhidlbase", + "vendor.dolby.hardware.dms@2.0", + "libc++", + "libc", + "libm", + "libdl", + ], + }, + }, + compile_multilib: "32", + relative_install_path: "soundfx", + prefer: true, + soc_specific: true, +} + cc_prebuilt_library_shared { name: "libswgamedap", owner: "xiaomi", diff --git a/proprietary/vendor/lib/soundfx/libswdap.so b/proprietary/vendor/lib/soundfx/libswdap.so new file mode 100644 index 0000000..5d0a001 Binary files /dev/null and b/proprietary/vendor/lib/soundfx/libswdap.so differ diff --git a/sm8250-common-vendor.mk b/sm8250-common-vendor.mk index 3e5ff19..b102c0f 100644 --- a/sm8250-common-vendor.mk +++ b/sm8250-common-vendor.mk @@ -278,6 +278,7 @@ PRODUCT_PACKAGES += \ libqcreverb \ libqcvirt \ libshoebox \ + libswdap \ libswgamedap \ libswvqe \ vendor.qti.hardware.wifidisplaysession@1.0_vendor \