summaryrefslogtreecommitdiff
path: root/go/android_build_shapeshifter_lib.sh
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2020-11-09 15:37:31 +0100
committercyBerta <cyberta@riseup.net>2020-11-09 15:37:31 +0100
commitf8daccffc061e2f05f6605913c19d4aa807eaddb (patch)
treea9789cd103807debb302d838dc5aef81fc2a4bb6 /go/android_build_shapeshifter_lib.sh
parent9510a267ac90d74fc47977958a67b4e0bd0b5708 (diff)
initial auto-update implementation: introducing fatweb flavor, pgpverify go library and bitmask core library, basic update mechanism
Diffstat (limited to 'go/android_build_shapeshifter_lib.sh')
-rwxr-xr-xgo/android_build_shapeshifter_lib.sh21
1 files changed, 0 insertions, 21 deletions
diff --git a/go/android_build_shapeshifter_lib.sh b/go/android_build_shapeshifter_lib.sh
deleted file mode 100755
index bbe3c84a..00000000
--- a/go/android_build_shapeshifter_lib.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/bash
-
-export GOPATH=`pwd`
-export GO_LANG=`pwd`/golang/go/bin
-export GO_COMPILED=`pwd`/bin
-PATH="${GO_LANG}:${GO_COMPILED}:${PATH}"
-
-if [ -z $ANDROID_NDK_HOME ]; then
- echo "Android NDK path not specified!"
- echo "Please set \$ANDROID_NDK_HOME before starting this script!"
- exit 1;
-fi
-
-./golang/go/bin/go env
-echo "getting gomobile..."
-./golang/go/bin/go get golang.org/x/mobile/cmd/gomobile
-echo "initiating gomobile..."
-./bin/gomobile init
-echo "cross compiling shapeshifter lib..."
-./bin/gomobile bind -target=android -o ./lib/shapeshifter.aar se.leap.bitmaskclient/shapeshifter/
-cp lib/shapeshifter* ../shapeshifter/. \ No newline at end of file