OLD | NEW |
1 Mojo | 1 Mojo |
2 ==== | 2 ==== |
3 | 3 |
4 Mojo is an effort to extract a common platform out of Chrome's renderer and | 4 Mojo is an effort to extract a common platform out of Chrome's renderer and |
5 plugin processes that can support multiple types of sandboxed content, such as | 5 plugin processes that can support multiple types of sandboxed content, such as |
6 HTML, Pepper, or NaCl. | 6 HTML, Pepper, or NaCl. |
7 | 7 |
8 ## Set-up and code check-out | 8 ## Set-up and code check-out |
9 | 9 |
10 The instructions below only need to be done once. Note that a simple "git clone" | 10 The instructions below only need to be done once. Note that a simple "git clone" |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 To build for Android, first make sure that your checkout is [configured](#config
ure-android) to build | 103 To build for Android, first make sure that your checkout is [configured](#config
ure-android) to build |
104 for Android. After that you can use the mojob script as follows: | 104 for Android. After that you can use the mojob script as follows: |
105 ``` | 105 ``` |
106 $ mojo/tools/mojob.py gn --android | 106 $ mojo/tools/mojob.py gn --android |
107 $ mojo/tools/mojob.py build --android | 107 $ mojo/tools/mojob.py build --android |
108 ``` | 108 ``` |
109 | 109 |
110 The result will be in out/android_Debug. If you see javac compile errors, | 110 The result will be in out/android_Debug. If you see javac compile errors, |
111 [make sure you have an up-to-date JDK](https://code.google.com/p/chromium/wiki/A
ndroidBuildInstructions#Install_Java_JDK) | 111 [make sure you have an up-to-date JDK](https://code.google.com/p/chromium/wiki/A
ndroidBuildInstructions#Install_Java_JDK) |
112 | 112 |
| 113 #### Marshmallow |
| 114 Running mojo on Marshmallow might raise an Exception `"Unable to find fifo"`. As |
| 115 a temporary solution, you can go to `Settings` -> `Apps` -> `Mojo Shell (dev)` |
| 116 -> `Permissions` and allow for `Storage`. |
| 117 See this [bug](https://github.com/domokit/mojo/issues/500) for more information. |
| 118 |
113 ### Goma (Googlers only) | 119 ### Goma (Googlers only) |
114 | 120 |
115 If you're a Googler, you can use Goma, a distributed compiler service for | 121 If you're a Googler, you can use Goma, a distributed compiler service for |
116 open-source projects such as Chrome and Android. If Goma is installed in the | 122 open-source projects such as Chrome and Android. If Goma is installed in the |
117 default location (~/goma), it will work out-of-the-box with the `mojob.py gn`, | 123 default location (~/goma), it will work out-of-the-box with the `mojob.py gn`, |
118 `mojob.py build` workflow described above. | 124 `mojob.py build` workflow described above. |
119 | 125 |
120 You can also manually add: | 126 You can also manually add: |
121 ``` | 127 ``` |
122 use_goma = true | 128 use_goma = true |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 making your first change: [C++ in Chromium | 295 making your first change: [C++ in Chromium |
290 101](http://dev.chromium.org/developers/cpp-in-chromium-101-codelab). | 296 101](http://dev.chromium.org/developers/cpp-in-chromium-101-codelab). |
291 | 297 |
292 To land a change after receiving LGTM: | 298 To land a change after receiving LGTM: |
293 ``` | 299 ``` |
294 $ git cl land | 300 $ git cl land |
295 ``` | 301 ``` |
296 | 302 |
297 Don't break the build! Waterfall is here: | 303 Don't break the build! Waterfall is here: |
298 http://build.chromium.org/p/client.mojo/waterfall | 304 http://build.chromium.org/p/client.mojo/waterfall |
OLD | NEW |