diff --git a/Android.bp b/Android.bp index c935a4d..d860659 100644 --- a/Android.bp +++ b/Android.bp @@ -906,246 +906,6 @@ cc_prebuilt_library_shared { soc_specific: true, } -cc_prebuilt_library_shared { - name: "libcamxfdalgov7", - owner: "xiaomi", - strip: { - none: true, - }, - target: { - android_arm: { - srcs: [ - "proprietary/vendor/lib/libcamxfdalgov7.so", - ], - shared_libs: [ - "libc++", - "libdl", - "libc", - "libm", - ], - }, - android_arm64: { - srcs: [ - "proprietary/vendor/lib64/libcamxfdalgov7.so", - ], - shared_libs: [ - "libc++", - "libdl", - "libc", - "libm", - ], - }, - }, - compile_multilib: "both", - prefer: true, - soc_specific: true, -} - -cc_prebuilt_library_shared { - name: "libcamxfdalgov8", - owner: "xiaomi", - strip: { - none: true, - }, - target: { - android_arm: { - srcs: [ - "proprietary/vendor/lib/libcamxfdalgov8.so", - ], - shared_libs: [ - "libc++", - "libdl", - "libc", - "libm", - ], - }, - android_arm64: { - srcs: [ - "proprietary/vendor/lib64/libcamxfdalgov8.so", - ], - shared_libs: [ - "libc++", - "libdl", - "libc", - "libm", - ], - }, - }, - compile_multilib: "both", - prefer: true, - soc_specific: true, -} - -cc_prebuilt_library_shared { - name: "libcamxfdengine", - owner: "xiaomi", - strip: { - none: true, - }, - target: { - android_arm: { - srcs: [ - "proprietary/vendor/lib/libcamxfdengine.so", - ], - shared_libs: [ - "libcutils", - "liblog", - "libsync", - "libcamera_nn_stub", - "libcdsprpc", - "libcamxfdalgov7", - "libc++", - "libc", - "libm", - "libdl", - ], - }, - android_arm64: { - srcs: [ - "proprietary/vendor/lib64/libcamxfdengine.so", - ], - shared_libs: [ - "libcutils", - "liblog", - "libsync", - "libcamera_nn_stub", - "libcdsprpc", - "libcamxfdalgov7", - "libc++", - "libc", - "libm", - "libdl", - ], - }, - }, - compile_multilib: "both", - prefer: true, - soc_specific: true, -} - -cc_prebuilt_library_shared { - name: "libcamxstatscore", - owner: "xiaomi", - strip: { - none: true, - }, - target: { - android_arm: { - srcs: [ - "proprietary/vendor/lib/libcamxstatscore.so", - ], - shared_libs: [ - "libcutils", - "liblog", - "libsync", - "libc++", - "libc", - "libm", - "libdl", - ], - }, - android_arm64: { - srcs: [ - "proprietary/vendor/lib64/libcamxstatscore.so", - ], - shared_libs: [ - "libcutils", - "liblog", - "libsync", - "libc++", - "libc", - "libm", - "libdl", - ], - }, - }, - compile_multilib: "both", - prefer: true, - soc_specific: true, -} - -cc_prebuilt_library_shared { - name: "libcamxswprocessalgo", - owner: "xiaomi", - strip: { - none: true, - }, - target: { - android_arm: { - srcs: [ - "proprietary/vendor/lib/libcamxswprocessalgo.so", - ], - shared_libs: [ - "libcutils", - "liblog", - "libsync", - "libc++", - "libc", - "libm", - "libdl", - ], - }, - android_arm64: { - srcs: [ - "proprietary/vendor/lib64/libcamxswprocessalgo.so", - ], - shared_libs: [ - "libcutils", - "liblog", - "libsync", - "libc++", - "libc", - "libm", - "libdl", - ], - }, - }, - compile_multilib: "both", - prefer: true, - soc_specific: true, -} - -cc_prebuilt_library_shared { - name: "libcamxtintlessalgo", - owner: "xiaomi", - strip: { - none: true, - }, - target: { - android_arm: { - srcs: [ - "proprietary/vendor/lib/libcamxtintlessalgo.so", - ], - shared_libs: [ - "libcutils", - "liblog", - "libsync", - "libc++", - "libc", - "libm", - "libdl", - ], - }, - android_arm64: { - srcs: [ - "proprietary/vendor/lib64/libcamxtintlessalgo.so", - ], - shared_libs: [ - "libcutils", - "liblog", - "libsync", - "libc++", - "libc", - "libm", - "libdl", - ], - }, - }, - compile_multilib: "both", - prefer: true, - soc_specific: true, -} - cc_prebuilt_library_shared { name: "libdiag", owner: "xiaomi", @@ -8846,6 +8606,165 @@ cc_prebuilt_library_shared { soc_specific: true, } +cc_prebuilt_library_shared { + name: "libcamxfdalgov7", + owner: "xiaomi", + strip: { + none: true, + }, + target: { + android_arm64: { + srcs: [ + "proprietary/vendor/lib64/libcamxfdalgov7.so", + ], + shared_libs: [ + "libc++", + "libdl", + "libc", + "libm", + ], + }, + }, + compile_multilib: "64", + prefer: true, + soc_specific: true, +} + +cc_prebuilt_library_shared { + name: "libcamxfdalgov8", + owner: "xiaomi", + strip: { + none: true, + }, + target: { + android_arm64: { + srcs: [ + "proprietary/vendor/lib64/libcamxfdalgov8.so", + ], + shared_libs: [ + "libc++", + "libdl", + "libc", + "libm", + ], + }, + }, + compile_multilib: "64", + prefer: true, + soc_specific: true, +} + +cc_prebuilt_library_shared { + name: "libcamxfdengine", + owner: "xiaomi", + strip: { + none: true, + }, + target: { + android_arm64: { + srcs: [ + "proprietary/vendor/lib64/libcamxfdengine.so", + ], + shared_libs: [ + "libcutils", + "liblog", + "libsync", + "libcamera_nn_stub", + "libcdsprpc", + "libcamxfdalgov7", + "libc++", + "libc", + "libm", + "libdl", + ], + }, + }, + compile_multilib: "64", + prefer: true, + soc_specific: true, +} + +cc_prebuilt_library_shared { + name: "libcamxstatscore", + owner: "xiaomi", + strip: { + none: true, + }, + target: { + android_arm64: { + srcs: [ + "proprietary/vendor/lib64/libcamxstatscore.so", + ], + shared_libs: [ + "libcutils", + "liblog", + "libsync", + "libc++", + "libc", + "libm", + "libdl", + ], + }, + }, + compile_multilib: "64", + prefer: true, + soc_specific: true, +} + +cc_prebuilt_library_shared { + name: "libcamxswprocessalgo", + owner: "xiaomi", + strip: { + none: true, + }, + target: { + android_arm64: { + srcs: [ + "proprietary/vendor/lib64/libcamxswprocessalgo.so", + ], + shared_libs: [ + "libcutils", + "liblog", + "libsync", + "libc++", + "libc", + "libm", + "libdl", + ], + }, + }, + compile_multilib: "64", + prefer: true, + soc_specific: true, +} + +cc_prebuilt_library_shared { + name: "libcamxtintlessalgo", + owner: "xiaomi", + strip: { + none: true, + }, + target: { + android_arm64: { + srcs: [ + "proprietary/vendor/lib64/libcamxtintlessalgo.so", + ], + shared_libs: [ + "libcutils", + "liblog", + "libsync", + "libc++", + "libc", + "libm", + "libdl", + ], + }, + }, + compile_multilib: "64", + prefer: true, + soc_specific: true, +} + cc_prebuilt_library_shared { name: "libcdfw", owner: "xiaomi", diff --git a/proprietary/vendor/lib/libcamxfdalgov7.so b/proprietary/vendor/lib/libcamxfdalgov7.so deleted file mode 100644 index edb9c9e..0000000 Binary files a/proprietary/vendor/lib/libcamxfdalgov7.so and /dev/null differ diff --git a/proprietary/vendor/lib/libcamxfdalgov8.so b/proprietary/vendor/lib/libcamxfdalgov8.so deleted file mode 100644 index 2f407b9..0000000 Binary files a/proprietary/vendor/lib/libcamxfdalgov8.so and /dev/null differ diff --git a/proprietary/vendor/lib/libcamxfdengine.so b/proprietary/vendor/lib/libcamxfdengine.so deleted file mode 100644 index aab7395..0000000 Binary files a/proprietary/vendor/lib/libcamxfdengine.so and /dev/null differ diff --git a/proprietary/vendor/lib/libcamxstatscore.so b/proprietary/vendor/lib/libcamxstatscore.so deleted file mode 100644 index 3b50611..0000000 Binary files a/proprietary/vendor/lib/libcamxstatscore.so and /dev/null differ diff --git a/proprietary/vendor/lib/libcamxswprocessalgo.so b/proprietary/vendor/lib/libcamxswprocessalgo.so deleted file mode 100644 index 0b99647..0000000 Binary files a/proprietary/vendor/lib/libcamxswprocessalgo.so and /dev/null differ diff --git a/proprietary/vendor/lib/libcamxtintlessalgo.so b/proprietary/vendor/lib/libcamxtintlessalgo.so deleted file mode 100644 index 182feeb..0000000 Binary files a/proprietary/vendor/lib/libcamxtintlessalgo.so and /dev/null differ diff --git a/sm6250-common-vendor.mk b/sm6250-common-vendor.mk index 3660b12..0cc15c5 100644 --- a/sm6250-common-vendor.mk +++ b/sm6250-common-vendor.mk @@ -340,12 +340,6 @@ PRODUCT_PACKAGES += \ libadreno_app_profiles \ libadreno_utils \ libc2d30_bltlib \ - libcamxfdalgov7 \ - libcamxfdalgov8 \ - libcamxfdengine \ - libcamxstatscore \ - libcamxswprocessalgo \ - libcamxtintlessalgo \ libdiag \ libdsutils \ libgpudataproducer \ @@ -592,6 +586,12 @@ PRODUCT_PACKAGES += \ libcamera_dirty \ libcamera_nn_stub \ libcamera_scene \ + libcamxfdalgov7 \ + libcamxfdalgov8 \ + libcamxfdengine \ + libcamxstatscore \ + libcamxswprocessalgo \ + libcamxtintlessalgo \ libcdfw \ libcdfw_remote_api \ libcdsp_default_listener \