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

Side by Side Diff: mojo/go/sample_app/README.txt

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: README comments. Created 6 years, 1 month 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 unified diff | Download patch
OLDNEW
(Empty)
1 Sample Go application that can be loaded into a mojo shell running on Android.
2 The application exports a MojoMain entry point for the shell and then makes
3 a GetTimeTicksNow system call.
4
5 Build instructions
6 gn args <output_directory>
7
8 Set the following arguments
9 mojo_use_go=true
10 go_build_tool=<go_binary_location>
11 os="android"
12
13 gn gen <output_directory>
14 ninja -C <output_directory> go_sample_app
15
16 You can now following instructions from the below link to run the app.
17 http://dev.chromium.org/developers/how-tos/run-mojo-shell
18
19 Start the Go application.
20 ./build/android/adb_run_mojo_shell http://127.0.0.1:4444/go_sample_app
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698