[PATCH 4/4] Add build instruction

Aurélien Chabot aurelien at chabot.fr
Tue Nov 7 05:38:15 CET 2017


Signed-off-by: Aurélien Chabot <aurelien at chabot.fr>
---
 build.sh | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100755 build.sh

diff --git a/build.sh b/build.sh
new file mode 100755
index 0000000..7fbc2b6
--- /dev/null
+++ b/build.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+cd wireguardbinding
+
+export GOPATH=`pwd`
+export PATH=$PATH:`pwd`/bin
+
+go get golang.org/x/mobile/cmd/gomobile
+go get wireguard
+gomobile init
+gomobile bind -target=android wireguardbinding
+
+cd ..
+
+./gradlew assembleDebug
+
-- 
2.15.0



More information about the WireGuard mailing list