summaryrefslogtreecommitdiffhomepage
path: root/wireguard
AgeCommit message (Collapse)AuthorFilesLines
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-09-21Retry tunnel creation without blocking state machineDavid Lönnhager1-22/+5
2021-09-21Retry wintun tunnel creation if it failsDavid Lönnhager1-5/+22
2021-06-02Give more time to IP interface setup on Windows, and make it abortableDavid Lönnhager1-44/+4
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-05-25Update wireguard-go to v0.0.0-20210225140808Emīls2-6/+26
2021-04-21Add support for building universal macOS appOskar Nyberg1-2/+16
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 Filho2-8/+4
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-03-22Use updated Docker imageJanito Vaqueiro Ferreira Filho1-1/+1
2021-03-22Define `NDK_TOOLCHAIN_DIR` in wg-go Docker imageJanito Vaqueiro Ferreira Filho1-0/+1
2021-03-17Update `go.mod` to use Go version 1.16Janito Vaqueiro Ferreira Filho1-1/+1
2021-03-17Replace `LinuxSocketBind` with std. `nativeBind`Janito Vaqueiro Ferreira Filho1-1/+1
2021-03-10Upgrade wireguard-goDavid Lönnhager7-64/+56
2021-03-10Rename DockerfileDavid Lönnhager1-0/+0
2021-03-10Update Android Docker imageDavid Lönnhager3-44/+47
2021-03-10Version Dockerfile for AndroidDavid Lönnhager1-0/+47
2021-02-26Allow building on Apple SiliconAndrii Yurchuk1-1/+5
2021-02-17Update copyright noticesDavid Lönnhager6-6/+6
2021-02-17Determine Wintun alias dynamically for WG tunnelDavid Lönnhager1-6/+12
2021-02-15Allow configuring architectures to build wg-goJanito Vaqueiro Ferreira Filho1-1/+2
2020-12-03Use custom Wintun pool in libwgDavid Lönnhager1-0/+16
2020-11-27Update wireguard-goDavid Lönnhager5-30/+34
2020-11-05Move Docker images to Quay.ioJoshua Björkäng1-1/+1
2020-07-22Prevent infinite wait on non-existent IPv6 interface on WindowsDavid Lönnhager1-11/+24
2020-07-07Use prebuild toolchainJanito Vaqueiro Ferreira Filho2-17/+3
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-19Don't use Docker for F-Droid buildJanito Vaqueiro Ferreira Filho1-5/+20
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īls5-49/+50
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-13Add readme for libwgOdd Stranne1-0/+26
2020-02-13Consolidate various libwg implementationsOdd Stranne20-891/+584
2020-02-07Use newer android docker image to build wireugardEmīls4-31/+13
Use newer android docker image to build wireguard-go libraries in CI to speed up builds. The main change is that NDK toolchains will now be installed at runtime to decrease the size (and thus the time it takes to download) the Docker image.
2020-02-07Move WireGuard artifacts instead of copyingLinus Färnstrand1-2/+2
2020-01-29Fix wireguard-go buildscript for AndroidEmīls1-1/+1
The script now specifies the correct name for the x86 Android ABI.
2020-01-27Fix android buildscriptEmīls Piņķis1-0/+3
2020-01-23Update wireguard-go to v0.0.20200121Emīls4-3/+19
2020-01-23Move wireguard-go into the repositoryEmīls12-0/+1369
Since the wireguard-go libraries were being changed too often to be in the binaries repository, they are moved into the main app repository. This means that for production builds, the libraries will be rebuilt every build.