diff --git a/Android.bp b/Android.bp index c9ca214..229e125 100644 --- a/Android.bp +++ b/Android.bp @@ -66,6 +66,56 @@ cc_prebuilt_library_shared { soc_specific: true, } +cc_prebuilt_library_shared { + name: "libswdap", + owner: "samsung", + strip: { + none: true, + }, + target: { + android_arm: { + srcs: [ + "proprietary/vendor/lib/soundfx/libswdap.so", + ], + shared_libs: [ + "libaudioutils", + "libcutils", + "liblog", + "libutils", + "libprofileparamstorage", + "libspatializerparamstorage", + "libsecaudiocoreutils", + "libc++", + "libc", + "libm", + "libdl", + ], + }, + android_arm64: { + srcs: [ + "proprietary/vendor/lib64/soundfx/libswdap.so", + ], + shared_libs: [ + "libaudioutils", + "libcutils", + "liblog", + "libutils", + "libprofileparamstorage", + "libspatializerparamstorage", + "libsecaudiocoreutils", + "libc++", + "libc", + "libm", + "libdl", + ], + }, + }, + compile_multilib: "both", + relative_install_path: "soundfx", + prefer: true, + soc_specific: true, +} + cc_prebuilt_library_shared { name: "vendor.samsung.hardware.bluetooth.a2dp@1.0", owner: "samsung", @@ -178,38 +228,6 @@ cc_prebuilt_library_shared { soc_specific: true, } -cc_prebuilt_library_shared { - name: "libswdap", - owner: "samsung", - strip: { - none: true, - }, - target: { - android_arm: { - srcs: [ - "proprietary/vendor/lib/soundfx/libswdap.so", - ], - shared_libs: [ - "libaudioutils", - "libcutils", - "liblog", - "libutils", - "libprofileparamstorage", - "libspatializerparamstorage", - "libsecaudiocoreutils", - "libc++", - "libc", - "libm", - "libdl", - ], - }, - }, - compile_multilib: "32", - relative_install_path: "soundfx", - prefer: true, - soc_specific: true, -} - cc_prebuilt_library_shared { name: "camera.exynos990", owner: "samsung", diff --git a/proprietary/vendor/lib64/soundfx/libswdap.so b/proprietary/vendor/lib64/soundfx/libswdap.so new file mode 100644 index 0000000..968a691 Binary files /dev/null and b/proprietary/vendor/lib64/soundfx/libswdap.so differ diff --git a/r8s-vendor.mk b/r8s-vendor.mk index 7f1df85..8615744 100644 --- a/r8s-vendor.mk +++ b/r8s-vendor.mk @@ -68,10 +68,10 @@ PRODUCT_COPY_FILES += \ PRODUCT_PACKAGES += \ android.hardware.bluetooth@1.0-impl-qti \ + libswdap \ vendor.samsung.hardware.bluetooth.a2dp@1.0 \ vendor.samsung.hardware.bluetooth@2.0 \ lib_SamsungRec_07020 \ - libswdap \ camera.exynos990 \ libbauthserver \ libbauthtzcommon \