All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Aurélien Chabot" <aurelien@chabot.fr>
To: wireguard@lists.zx2c4.com
Subject: [PATCH 4/4] Add build instruction
Date: Tue,  7 Nov 2017 15:38:15 +1100	[thread overview]
Message-ID: <20171107043817.9050-5-aurelien@chabot.fr> (raw)
In-Reply-To: <20171107043817.9050-1-aurelien@chabot.fr>

Signed-off-by: Aurélien Chabot <aurelien@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

  parent reply	other threads:[~2017-11-07  4:36 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-07  4:38 WireGuard root-less support for android Aurélien Chabot
2017-11-07  4:38 ` [PATCH 1/4] Add wireguard-go as submodule Aurélien Chabot
2017-11-07  9:34   ` Greg KH
2017-11-07  9:53     ` Jason A. Donenfeld
2017-11-07  4:38 ` [PATCH 2/4] Add support for android in wireguard-go Aurélien Chabot
2017-11-07  4:38 ` [PATCH 3/4] Add support of wireguard-go as an Android Vpn Service Aurélien Chabot
2017-11-07  4:38 ` Aurélien Chabot [this message]
2017-11-07  4:38 ` [PATCH 1/2] Put the code in a 'wireguard' go package Aurélien Chabot
2017-11-07  4:38 ` [PATCH 2/2] Add android support Aurélien Chabot
2017-11-07  9:57 ` WireGuard root-less support for android Jason A. Donenfeld
2017-11-08  5:15 ` Samuel Holland
2017-11-08 17:44 ` Mathias Hall-Andersen
2017-11-08 21:50   ` Aurélien Chabot
2018-01-23  1:52     ` Aurélien Chabot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171107043817.9050-5-aurelien@chabot.fr \
    --to=aurelien@chabot.fr \
    --cc=wireguard@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.