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

Unified Diff: mojo/go/sample_app/app.go

Issue 681393002: -Build configuration for a sample Go application that can be run in Mojo (on Android). (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Fix tabs Created 6 years, 2 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
« no previous file with comments | « mojo/go/sample_app/README.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/go/sample_app/app.go
diff --git a/mojo/go/sample_app/app.go b/mojo/go/sample_app/app.go
index d0ce7ed96d2c303f223a0d80eadc4feeea6ef3ed..8108d4e866705330247114e3df3f2b4871c79fc7 100644
--- a/mojo/go/sample_app/app.go
+++ b/mojo/go/sample_app/app.go
@@ -1,9 +1,10 @@
package main
import (
- "code.google.com/p/go.mobile/app"
"log"
- "mojo/public/go/system"
+
+ "code.google.com/p/go.mobile/app"
+ "mojo/public/go/system/impl"
)
//#include "mojo/public/c/system/types.h"
@@ -11,7 +12,7 @@ import "C"
//export MojoMain
func MojoMain(handle C.MojoHandle) C.MojoResult {
- if core := system.GetCore(); core != nil {
+ if core := impl.GetCore(); core != nil {
log.Printf("GetTimeTicksNow:%v", core.GetTimeTicksNow())
}
return C.MOJO_RESULT_OK
« no previous file with comments | « mojo/go/sample_app/README.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698