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

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

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.bat
diff --git a/third_party/go/src/golang.org/x/mobile/example/libhellojni/make.bat b/third_party/go/src/golang.org/x/mobile/example/libhellojni/make.bat
deleted file mode 100755
index 111e19b35d79f61fad4f54e897a5786abec894e3..0000000000000000000000000000000000000000
--- a/third_party/go/src/golang.org/x/mobile/example/libhellojni/make.bat
+++ /dev/null
@@ -1,39 +0,0 @@
-:: 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.
-
-@echo off
-
-setlocal
-
-if not exist make.bat goto error-invalid-path
-
-set CGO_ENABLED=1
-set GOOS=android
-set GOARCH=arm
-set GOARM=7
-set ANDROID_APP=%CD%
-
-if not exist src\main\jniLibs\armeabi mkdir src\main\jniLibs\armeabi
-if not exist src\main\java\go mkdir src\main\java\go
-if not exist src\main\java\demo mkdir src\main\java\demo
-
-xcopy /y ..\..\app\*.java %ANDROID_APP%\src\main\java\go >nul
-xcopy /y ..\..\bind\java\*.java %ANDROID_APP%\src\main\java\go >nul
-xcopy /y %CD%\*.java %ANDROID_APP%\src\main\java\demo >nul
-
-go build -ldflags="-shared" .
-if errorlevel 1 goto error-go-build
-
-move /y libhellojni %ANDROID_APP%\src\main\jniLibs\armeabi\libgojni.so >nul
-goto end
-
-:error-invalid-path
-echo make.bat must be run from example\libhellojni
-goto end
-
-:error-go-build
-echo Error building go lib
-goto end
-
-:end

Powered by Google App Engine
This is Rietveld 408576698