diff options
author | atanarjuat <atanarjuat@example.com> | 2022-05-29 22:18:12 +0200 |
---|---|---|
committer | atanarjuat <atanarjuat@example.com> | 2022-05-29 22:18:12 +0200 |
commit | 60eda76d073ad9c0eaef63c6eb31d47e5ca86ff7 (patch) | |
tree | e757b95a836e6c1e788fa030a165cc8bf8c687f6 /Makefile | |
parent | 6f2d28e19a41e9aa777071f63eebec89ca80ade4 (diff) |
attempt at android bindings
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -7,7 +7,7 @@ certs: build-client: go get ./... - go build -o obfsvpn-client ./client + go build -o obfsvpn-client ./cmd/client/ run-client: ./obfsvpn-client -c ${OBFS4_CERT} @@ -32,3 +32,10 @@ go-vet: go-sec: gosec ./... + +GOMOBILE = $(shell go env GOPATH)/bin/gomobile + +build-android: + go get -u golang.org/x/mobile/cmd/gomobile + $(GOMOBILE) init + $(GOMOBILE) bind -x -target android -o mobile/android/obfsvpn.aar ./client/ |