diff --git a/Android.bp b/Android.bp index 53a4f33..28b185e 100644 --- a/Android.bp +++ b/Android.bp @@ -13425,6 +13425,165 @@ cc_prebuilt_library_shared { soc_specific: true, } +cc_prebuilt_library_shared { + name: "libwapi", + owner: "xiaomi", + strip: { + none: true, + }, + target: { + android_arm64: { + srcs: [ + "proprietary/vendor/lib64/libwapi.so", + ], + shared_libs: [ + "libkeystore-wifi-hidl", + "libcrypto", + "liblog", + "libc++", + "libc", + "libm", + "libdl", + ], + }, + }, + compile_multilib: "64", + prefer: true, + soc_specific: true, +} + +cc_prebuilt_library_shared { + name: "libwifi-hal-mtk", + owner: "xiaomi", + strip: { + none: true, + }, + target: { + android_arm64: { + srcs: [ + "proprietary/vendor/lib64/libwifi-hal-mtk.so", + ], + shared_libs: [ + "libbase", + "libcutils", + "liblog", + "libnl", + "libutils", + "libc++", + "libc", + "libm", + "libdl", + ], + }, + }, + compile_multilib: "64", + prefer: true, + soc_specific: true, +} + +cc_prebuilt_library_shared { + name: "libwifical", + owner: "xiaomi", + strip: { + none: true, + }, + target: { + android_arm64: { + srcs: [ + "proprietary/vendor/lib64/libwifical.so", + ], + shared_libs: [ + "libwifinvram", + "libcutils", + "liblog", + "libc++", + "libc", + "libm", + "libdl", + ], + }, + }, + compile_multilib: "64", + prefer: true, + soc_specific: true, +} + +cc_prebuilt_library_shared { + name: "libwifinvram", + owner: "xiaomi", + strip: { + none: true, + }, + target: { + android_arm64: { + srcs: [ + "proprietary/vendor/lib64/libwifinvram.so", + ], + shared_libs: [ + "libcutils", + "liblog", + "libnvram", + "libc++", + "libc", + "libm", + "libdl", + ], + }, + }, + compile_multilib: "64", + prefer: true, + soc_specific: true, +} + +cc_prebuilt_library_shared { + name: "libwifinvramdata", + owner: "xiaomi", + strip: { + none: true, + }, + target: { + android_arm64: { + srcs: [ + "proprietary/vendor/lib64/libwifinvramdata.so", + ], + shared_libs: [ + "libdl", + "libc", + "libm", + ], + }, + }, + compile_multilib: "64", + prefer: true, + soc_specific: true, +} + +cc_prebuilt_library_shared { + name: "libwpa_client", + owner: "xiaomi", + strip: { + none: true, + }, + target: { + android_arm64: { + srcs: [ + "proprietary/vendor/lib64/libwpa_client.so", + ], + shared_libs: [ + "libcutils", + "liblog", + "libc++", + "libc", + "libm", + "libdl", + ], + }, + }, + compile_multilib: "64", + prefer: true, + soc_specific: true, +} + cc_prebuilt_library_shared { name: "libwpfa", owner: "xiaomi", diff --git a/klee-vendor.mk b/klee-vendor.mk index 0acabd6..913e7c5 100644 --- a/klee-vendor.mk +++ b/klee-vendor.mk @@ -1547,6 +1547,12 @@ PRODUCT_PACKAGES += \ libvow_ap_test_vaca_nn \ libvow_comp_test \ libvpu5 \ + libwapi \ + libwifi-hal-mtk \ + libwifical \ + libwifinvram \ + libwifinvramdata \ + libwpa_client \ libwpfa \ libwvkeybox \ libxlog \ diff --git a/proprietary/vendor/lib64/libwapi.so b/proprietary/vendor/lib64/libwapi.so new file mode 100644 index 0000000..f73e3c3 Binary files /dev/null and b/proprietary/vendor/lib64/libwapi.so differ diff --git a/proprietary/vendor/lib64/libwifi-hal-mtk.so b/proprietary/vendor/lib64/libwifi-hal-mtk.so new file mode 100644 index 0000000..7c2c369 Binary files /dev/null and b/proprietary/vendor/lib64/libwifi-hal-mtk.so differ diff --git a/proprietary/vendor/lib64/libwifical.so b/proprietary/vendor/lib64/libwifical.so new file mode 100644 index 0000000..e908453 Binary files /dev/null and b/proprietary/vendor/lib64/libwifical.so differ diff --git a/proprietary/vendor/lib64/libwifinvram.so b/proprietary/vendor/lib64/libwifinvram.so new file mode 100644 index 0000000..b8f5cbb Binary files /dev/null and b/proprietary/vendor/lib64/libwifinvram.so differ diff --git a/proprietary/vendor/lib64/libwifinvramdata.so b/proprietary/vendor/lib64/libwifinvramdata.so new file mode 100644 index 0000000..94e77c4 Binary files /dev/null and b/proprietary/vendor/lib64/libwifinvramdata.so differ diff --git a/proprietary/vendor/lib64/libwpa_client.so b/proprietary/vendor/lib64/libwpa_client.so new file mode 100644 index 0000000..20a7943 Binary files /dev/null and b/proprietary/vendor/lib64/libwpa_client.so differ