summaryrefslogtreecommitdiff
path: root/go/android_build_shapeshifter_lib.sh
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2019-10-08 00:56:38 +0200
committercyBerta <cyberta@riseup.net>2019-10-08 00:56:38 +0200
commit699ea78397e05d13b87e44ff944def6e98b2aa87 (patch)
tree99db29edde5bd4c51f9d64a07d30d2c98e3096e0 /go/android_build_shapeshifter_lib.sh
parentb76ca198dfb281829461b1e422aec17ea6e31440 (diff)
add more output to library cross compiling script
Diffstat (limited to 'go/android_build_shapeshifter_lib.sh')
-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