| OLD | NEW |
| (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 |
| OLD | NEW |