summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgo/android_build_shapeshifter_lib.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/go/android_build_shapeshifter_lib.sh b/go/android_build_shapeshifter_lib.sh
index cf122bca..bbe3c84a 100755
--- a/go/android_build_shapeshifter_lib.sh
+++ b/go/android_build_shapeshifter_lib.sh
@@ -12,8 +12,10 @@ if [ -z $ANDROID_NDK_HOME ]; then
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