| OLD | NEW |
| 1 Mojo | 1 Mojo |
| 2 ==== | 2 ==== |
| 3 | 3 |
| 4 This repo uses gclient to manage dependencies, so to build things from this | 4 This repo uses gclient to manage dependencies, so to build things from this |
| 5 repo you have to first download depot_tools and make sure it is in your path: | 5 repo you have to first download depot_tools and make sure it is in your path: |
| 6 | 6 |
| 7 http://www.chromium.org/developers/how-tos/install-depot-tools | 7 http://www.chromium.org/developers/how-tos/install-depot-tools |
| 8 | 8 |
| 9 Then, create a directory somewhere for your checkout, cd into it, | 9 Then, create a directory somewhere for your checkout, cd into it, |
| 10 and run the following commands: | 10 and run the following commands: |
| 11 | 11 |
| 12 ``` | 12 ``` |
| 13 $ fetch mojo # use --target-os=android if you want an Android build. | 13 $ fetch mojo # use --target_os=android if you want an Android build. |
| 14 $ cd src | 14 $ cd src |
| 15 $ ./build/install-build-deps.sh | 15 $ ./build/install-build-deps.sh |
| 16 ``` | 16 ``` |
| 17 | 17 |
| 18 This creates a directory called 'src' under your checkout directory, clones | 18 This creates a directory called 'src' under your checkout directory, clones |
| 19 the repository and its dependencies, and installs any packages needed to build. | 19 the repository and its dependencies, and installs any packages needed to build. |
| 20 | 20 |
| 21 You can then build Mojo by running: | 21 You can then build Mojo by running: |
| 22 | 22 |
| 23 ``` | 23 ``` |
| 24 $ gn gen out/Debug | 24 $ gn gen out/Debug |
| 25 $ ninja -C out/Debug mojo | 25 $ ninja -C out/Debug mojo |
| 26 ``` | 26 ``` |
| OLD | NEW |