summaryrefslogtreecommitdiffhomepage
path: root/wireguard/libwg/build-android.sh
AgeCommit message (Collapse)AuthorFilesLines
2024-06-25Add a safe FFI wrapper in `wireguard-go-rs`Sebastian Holmin1-65/+0
- Add local wireguard go import - Activate DAITA and add `wgActivateDaita` and `wgReceiveEvent` FFI - Implement `start_daita` on Wireguard-go tunnel type - Mention DAITA in `wireguard-go-rs` description - Do not compile `wireguard-go-rs` on Windows - Handle DAITA closed on `nil` event - Handle daita action timeouts in libwg - Remove noisy log lines - Remove `maybenot_on_action` callback - Remove unused link to `../build/lib` for `talpid-wireguard` - Bump the `wireguard-go` submodule to a signed release tag in Mullvad's `wireguard-go` fork. - Update path to `libwg/go.sum` in verification script Also: - Use u64 instead of *mut void as log context - Make Tunnel::set_config take a &mut self - Use dyn Error instead of i32s for wg errors Co-authored-by: Joakim Hulthe <joakim@hulthe.net>
2024-03-05Fix shellcheck warnings and notesJoakim Hulthe1-2/+2
2024-02-02Fix `shellcheck` lints of our various bash scriptsSebastian Holmin1-4/+4
The following lints have been fixed: SC2046,SC2086,SC2068,SC2148,SC2007,SC2004,SC2006, SC2164,SC2145,SC1091,SC2034,SC2155.
2023-03-27Fix many typosAlexander Seiler1-1/+1
Signed-off-by: Alexander Seiler <seileralex@gmail.com>
2023-03-14Bump NDK min sdk to 26Albin1-4/+4
2023-03-14Bump NDK version to r25cAlbin1-7/+2
2021-12-16Split Android project and app moduleAlbin1-1/+1
The purpose of this is to: * Comply better with the default Android project structure (see https://developer.android.com/studio/build). * Avoid conflicts between project and app dependencies and plugins.
2021-05-27Make architecture names standardJanito Vaqueiro Ferreira Filho1-7/+8
`build-apk.sh` and `wireguard/libwg/build-android.sh` were using different names for the same architecture (x86/i686, arm/armv7, arm64/aarch64). Making it consistent helps to reuse the same `$ARCHITECTURES` environment variable for both scripts.
2021-03-22Set permissions for created build outputsJanito Vaqueiro Ferreira Filho1-1/+6
2021-03-22Manually strip `libwg.so`Janito Vaqueiro Ferreira Filho1-8/+17
2021-03-22Change built `libwg.so` output pathJanito Vaqueiro Ferreira Filho1-7/+3
Change the makefile to output to the path that will be used when building the `mullvad-jni` crate, then copy that file to the path where the APK build process will look for it. This is the reverse of how it was previously handled. The reason for doing is is that the APK library will be stripped, so having that be the output of the makefile will always cause `make` to rebuild it unnecessary if it's stripped in place. Therefore, we keep the `make` output library unstripped, and copy a stripped version to the APK path.
2021-02-15Allow configuring architectures to build wg-goJanito Vaqueiro Ferreira Filho1-1/+2
2020-07-07Use prebuild toolchainJanito Vaqueiro Ferreira Filho1-14/+1
2020-05-19Allow building libwg-go without NDK scriptJanito Vaqueiro Ferreira Filho1-1/+8
2020-05-19Fail WireGuard-Go build with undefined variablesJanito Vaqueiro Ferreira Filho1-1/+1
2020-05-19Export GOPATH so that it is used by `make`Janito Vaqueiro Ferreira Filho1-1/+1
2020-02-13Fix file permissions and all the thingsEmīls1-0/+0
Use chrono in talpid-core on all platforms Resolve unused imports and android errors Correct formatting Fix git attributes to use LF on Windows for go.mod Fix libwg_default.go Fix libwg_android.go Fix logging context management Fix return values Fix conditional compilation statement Fix go formatting
2020-02-13Consolidate various libwg implementationsOdd Stranne1-0/+64