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

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

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/main.go
diff --git a/third_party/go/src/golang.org/x/mobile/example/libhellojni/main.go b/third_party/go/src/golang.org/x/mobile/example/libhellojni/main.go
deleted file mode 100644
index 79a16b4e7a161884312da8a4456ea2dc147c1ff5..0000000000000000000000000000000000000000
--- a/third_party/go/src/golang.org/x/mobile/example/libhellojni/main.go
+++ /dev/null
@@ -1,30 +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.
-
-/*
-This example program compiles to a gojni.so shared library, that can
-be loaded from an android application. Build it by configuring a cross
-compiler (see go.mobile/README) and then running:
-
-ANDROID_APP=/path/to/Myapp/app ./make.bash
-
-This program expects app/Go.java to be included in the Android
-project, along with a Java class named Demo defining
-
- public static native void hello();
-
-calling hello prints "Hello, world!" to logcat.
-
-This is a very early example program that does not represent the
-intended development model for Go on Android. A language binding
-generator will follow, as will gradle build system integration.
-The result will be no make.bash, and no need to write C.
-*/
-package main
-
-import "golang.org/x/mobile/app"
-
-func main() {
- app.Run(app.Callbacks{})
-}

Powered by Google App Engine
This is Rietveld 408576698