diff --git a/Android.bp b/Android.bp index fd0b189..2815a94 100644 --- a/Android.bp +++ b/Android.bp @@ -548,3 +548,41 @@ cc_prebuilt_binary { relative_install_path: "hw", soc_specific: true, } + +cc_prebuilt_binary { + name: "hypsys_vendor", + owner: "xiaomi", + target: { + android_arm64: { + srcs: [ + "proprietary/vendor/bin/hypsys_vendor", + ], + shared_libs: [ + "libc", + "libssl", + "vendor.xiaomi.hardware.mtkblackbox-V3-ndk", + "libmisight", + "libcutils", + "libcrypto", + "libz", + "libbase", + "liblog", + "libutils", + "libbinder_ndk", + "libjsoncpp", + "vendor.xiaomi.hardware.misys.core-V1-ndk", + "vendor.xiaomi.hardware.misys.common-V3-ndk", + "xiaomi.system.hypsys.common-V1-ndk", + "libc++", + "libm", + "libdl", + ], + }, + }, + compile_multilib: "64", + strip: { + none: true, + }, + prefer: true, + soc_specific: true, +} diff --git a/klee-miuicamera-vendor.mk b/klee-miuicamera-vendor.mk index 4fa5149..ff377ac 100644 --- a/klee-miuicamera-vendor.mk +++ b/klee-miuicamera-vendor.mk @@ -296,7 +296,8 @@ PRODUCT_PACKAGES += \ vendor.xiaomi.hardware.misys.common-V2-java \ vendor.xiaomi.hardware.misys.common.xml \ vendor.xiaomi.hardware.misys.core.xml \ - vendor.xiaomi.hardware.misys.core-service + vendor.xiaomi.hardware.misys.core-service \ + hypsys_vendor PRODUCT_BOOT_JARS += \ mediatek-framework diff --git a/proprietary/vendor/bin/hypsys_vendor b/proprietary/vendor/bin/hypsys_vendor new file mode 100644 index 0000000..053b41c Binary files /dev/null and b/proprietary/vendor/bin/hypsys_vendor differ