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 | |
119 ### Goma (Googlers only) | 113 ### Goma (Googlers only) |
120 | 114 |
121 If you're a Googler, you can use Goma, a distributed compiler service for | 115 If you're a Googler, you can use Goma, a distributed compiler service for |
122 open-source projects such as Chrome and Android. If Goma is installed in the | 116 open-source projects such as Chrome and Android. If Goma is installed in the |
123 default location (~/goma), it will work out-of-the-box with the `mojob.py gn`, | 117 default location (~/goma), it will work out-of-the-box with the `mojob.py gn`, |
124 `mojob.py build` workflow described above. | 118 `mojob.py build` workflow described above. |
125 | 119 |
126 You can also manually add: | 120 You can also manually add: |
127 ``` | 121 ``` |
128 use_goma = true | 122 use_goma = true |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 making your first change: [C++ in Chromium | 289 making your first change: [C++ in Chromium |
296 101](http://dev.chromium.org/developers/cpp-in-chromium-101-codelab). | 290 101](http://dev.chromium.org/developers/cpp-in-chromium-101-codelab). |
297 | 291 |
298 To land a change after receiving LGTM: | 292 To land a change after receiving LGTM: |
299 ``` | 293 ``` |
300 $ git cl land | 294 $ git cl land |
301 ``` | 295 ``` |
302 | 296 |
303 Don't break the build! Waterfall is here: | 297 Don't break the build! Waterfall is here: |
304 http://build.chromium.org/p/client.mojo/waterfall | 298 http://build.chromium.org/p/client.mojo/waterfall |
OLD | NEW |