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

Unified Diff: third_party/go/src/golang.org/x/mobile/example/libhello/src/com/example/hello/MainActivity.java

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/libhello/src/com/example/hello/MainActivity.java
diff --git a/third_party/go/src/golang.org/x/mobile/example/libhello/src/com/example/hello/MainActivity.java b/third_party/go/src/golang.org/x/mobile/example/libhello/src/com/example/hello/MainActivity.java
deleted file mode 100644
index 61fc8b6d7254897fbc95e0c5286f06a9cfc82082..0000000000000000000000000000000000000000
--- a/third_party/go/src/golang.org/x/mobile/example/libhello/src/com/example/hello/MainActivity.java
+++ /dev/null
@@ -1,29 +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.
- */
-
-package com.example.hello;
-
-import go.Go;
-import go.hi.Hi;
-import android.app.Activity;
-import android.os.Bundle;
-
-/*
- * MainActivity is the entry point for the libhello app.
- *
- * From here, the Go runtime is initialized and a Go function is
- * invoked via gobind language bindings.
- *
- * See example/libhello/README for details.
- */
-public class MainActivity extends Activity {
- @Override
- protected void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
- Go.init(getApplicationContext());
- Hi.Hello("world");
- }
-}

Powered by Google App Engine
This is Rietveld 408576698