OLD | NEW |
1 # Ninja Build | 1 # Ninja Build |
2 | 2 |
3 Ninja is a build system written with the specific goal of improving the | 3 Ninja is a build system written with the specific goal of improving the |
4 edit-compile cycle time. It is used by default everywhere except when building | 4 edit-compile cycle time. It is used by default everywhere except when building |
5 for iOS. | 5 for iOS. |
6 | 6 |
7 Ninja behaves very similar to Make -- the major feature is that it starts | 7 Ninja behaves very similar to Make -- the major feature is that it starts |
8 building files nearly instantly. (It has a number of minor user interface | 8 building files nearly instantly. (It has a number of minor user interface |
9 improvements to make as well.) | 9 improvements to make as well.) |
10 | 10 |
11 Read more about Ninja at | 11 Read more about Ninja at [the Ninja home page](https://ninja-build.org/). |
12 [the Ninja home page](http://martine.github.com/ninja/). | |
13 | 12 |
14 ## Using it | 13 ## Using it |
15 | 14 |
16 ### Configure your system to use Ninja | 15 ### Configure your system to use Ninja |
17 | 16 |
18 #### Install | 17 #### Install |
19 | 18 |
20 Ninja is included in `depot_tools` as well as `gyp`, so there's nothing to | 19 Ninja is included in `depot_tools` as well as `gyp`, so there's nothing to |
21 install. | 20 install. |
22 | 21 |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 You can write a specific build config to a specific output directory via the | 94 You can write a specific build config to a specific output directory via the |
96 `-G` flags to gyp. Here's an example from jamesr: | 95 `-G` flags to gyp. Here's an example from jamesr: |
97 `build/gyp_chromium -Gconfig=Release -Goutput_dir=out_profiling -Dprofiling=1 | 96 `build/gyp_chromium -Gconfig=Release -Goutput_dir=out_profiling -Dprofiling=1 |
98 -Dlinux_fpic=0` | 97 -Dlinux_fpic=0` |
99 | 98 |
100 ## Bugs | 99 ## Bugs |
101 | 100 |
102 If you encounter any problems, please file a bug at http://crbug.com/new with | 101 If you encounter any problems, please file a bug at http://crbug.com/new with |
103 label `ninja` and cc `thakis@` or `scottmg@`. Assume that it is a bug in Ninja | 102 label `ninja` and cc `thakis@` or `scottmg@`. Assume that it is a bug in Ninja |
104 before you bother anyone about e.g. link problems. | 103 before you bother anyone about e.g. link problems. |
OLD | NEW |