Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Unified Diff: third_party/go/src/golang.org/x/mobile/example/libhellojni/make.bash

Issue 1275153002: Remove third_party/golang.org/x/mobile as it is no longer used with Go 1.5. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Remove golang.org/x/mobile Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/go/src/golang.org/x/mobile/example/libhellojni/make.bash
diff --git a/third_party/go/src/golang.org/x/mobile/example/libhellojni/make.bash b/third_party/go/src/golang.org/x/mobile/example/libhellojni/make.bash
deleted file mode 100755
index 1938151833b4571883950181cc7ac43bd33bb8c7..0000000000000000000000000000000000000000
--- a/third_party/go/src/golang.org/x/mobile/example/libhellojni/make.bash
+++ /dev/null
@@ -1,27 +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.
-
-# See main.go for commentary.
-
-set -e
-
-if [ ! -f make.bash ]; then
- echo 'make.bash must be run from $GOPATH/src/golang.org/x/mobile/example/libhellojni'
- exit 1
-fi
-if [ -z "$ANDROID_APP" ]; then
- echo 'ERROR: Environment variable ANDROID_APP is unset.'
- exit 1
-fi
-
-mkdir -p $ANDROID_APP/src/main/jniLibs/armeabi \
- $ANDROID_APP/src/main/java/go \
- $ANDROID_APP/src/main/java/demo
-(cd ../.. && ln -sf $PWD/app/*.java $ANDROID_APP/src/main/java/go)
-(cd ../.. && ln -sf $PWD/bind/java/*.java $ANDROID_APP/src/main/java/go)
-ln -sf $PWD/*.java $ANDROID_APP/src/main/java/demo
-CGO_ENABLED=1 GOOS=android GOARCH=arm GOARM=7 \
- go build -ldflags="-shared" .
-mv libhellojni $ANDROID_APP/src/main/jniLibs/armeabi/libgojni.so

Powered by Google App Engine
This is Rietveld 408576698