Embded compiled WireGuard lib for Android

This commit is contained in:
pokamest 2021-10-02 15:09:20 +03:00
parent edbfcda197
commit 535e628eba
14 changed files with 12 additions and 5 deletions

View file

@ -129,9 +129,9 @@ android {
}
}
externalNativeBuild {
cmake {
path 'wireguard/CMakeLists.txt'
}
}
// externalNativeBuild {
// cmake {
// path 'wireguard/CMakeLists.txt'
// }
// }
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -195,6 +195,13 @@ android {
android/res/values/libs.xml
ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android
for (abi, ANDROID_ABIS): {
ANDROID_EXTRA_LIBS += $$PWD/android/lib/wireguard/$${abi}/libwg.so
ANDROID_EXTRA_LIBS += $$PWD/android/lib/wireguard/$${abi}/libwg-go.so
ANDROID_EXTRA_LIBS += $$PWD/android/lib/wireguard/$${abi}/libwg-quick.so
}
}
REPC_REPLICA += ../ipc/ipc_interface.rep