| Index: third_party/go/src/golang.org/x/mobile/example/libhello/make.bash
|
| diff --git a/third_party/go/src/golang.org/x/mobile/example/libhello/make.bash b/third_party/go/src/golang.org/x/mobile/example/libhello/make.bash
|
| deleted file mode 100755
|
| index 97bd45d9a0731fb53b4cc9cf895cf1eab1bede2a..0000000000000000000000000000000000000000
|
| --- a/third_party/go/src/golang.org/x/mobile/example/libhello/make.bash
|
| +++ /dev/null
|
| @@ -1,20 +0,0 @@
|
| -#!/usr/bin/env bash
|
| -# Copyright 2014 The Go Authors. All rights reserved.
|
| -# Use of this source code is governed by a BSD-style
|
| -# license that can be found in the LICENSE file.
|
| -
|
| -set -e
|
| -
|
| -if [ ! -f make.bash ]; then
|
| - echo 'make.bash must be run from $GOPATH/src/golang.org/x/mobile/example/libhello'
|
| - exit 1
|
| -fi
|
| -
|
| -mkdir -p libs/armeabi-v7a src/go/hi
|
| -ANDROID_APP=$PWD
|
| -(cd ../.. && ln -sf $PWD/app/*.java $ANDROID_APP/src/go)
|
| -(cd ../.. && ln -sf $PWD/bind/java/Seq.java $ANDROID_APP/src/go)
|
| -CGO_ENABLED=1 GOOS=android GOARCH=arm GOARM=7 \
|
| - go build -ldflags="-shared" .
|
| -mv -f libhello libs/armeabi-v7a/libgojni.so
|
| -ant debug
|
|
|