OLD | NEW |
---|---|
1 # What is GN? | 1 # What is GN? |
2 | 2 |
3 GN is a meta-build system that generates | 3 GN is a meta-build system that generates |
4 [NinjaBuild](https://chromium.googlesource.com/chromium/src/+/master/docs/ninja_ build.md) | 4 [NinjaBuild](https://ninja-build.org) |
5 files so that you can build Chromium with Ninja. | 5 files so that you can build Chromium with Ninja. |
6 | 6 |
7 ## Why did you switch from GYP? | 7 ## Why did you switch from GYP? |
8 | 8 |
9 1. We believe GN files are more readable and more maintainable than GYP files. | 9 1. We believe GN files are more readable and more maintainable than GYP files. |
10 2. GN is fast: | 10 2. GN is fast: |
11 * GN is 20x faster than GYP. | 11 * GN is 20x faster than GYP. |
12 * GN supports automatically re-running itself as needed by Ninja | 12 * GN supports automatically re-running itself as needed by Ninja |
13 as part of the build. This eliminates the need to remember to | 13 as part of the build. This eliminates the need to remember to |
14 re-run GN when you change a build file. | 14 re-run GN when you change a build file. |
(...skipping 14 matching lines...) Expand all Loading... | |
29 builders that need to be converted over. | 29 builders that need to be converted over. |
30 * Some related projects (e.g., V8, Skia) may still support GYP for their | 30 * Some related projects (e.g., V8, Skia) may still support GYP for their |
31 own reasons. | 31 own reasons. |
32 * We're still cleaning up some odds and ends like making gclient not | 32 * We're still cleaning up some odds and ends like making gclient not |
33 still use GYP_DEFINES. | 33 still use GYP_DEFINES. |
34 | 34 |
35 ## I want more info on GN! | 35 ## I want more info on GN! |
36 | 36 |
37 Read these links: | 37 Read these links: |
38 | 38 |
39 * [Quick start](https://chromium.googlesource.com/chromium/src/+/master/tools/ gn/docs/quick_start.md) | 39 * [Quick start](docs/quick_start.md) |
40 * [FAQ](https://chromium.googlesource.com/chromium/src/+/master/tools/gn/docs/ faq.md) | 40 * [FAQ](docs/faq.md) |
41 * [GYP conversion cookbook](https://chromium.googlesource.com/chromium/src/+/m aster/tools/gn/docs/cookbook.md) | 41 * [GYP conversion cookbook](docs/cookbook.md) |
brettw
2016/11/18 21:09:52
Delete this link to the cookbook.
Dirk Pranke
2016/11/18 21:14:28
Right.
| |
42 * [Language and operation details](https://chromium.googlesource.com/chromium/ src/+/master/tools/gn/docs/language.md) | 42 * [Language and operation details](docs/language.md) |
43 * [Reference](https://chromium.googlesource.com/chromium/src/+/master/tools/gn /docs/reference.md) The built-in `gn help` documentation. | 43 * [Reference](docs/reference.md) The built-in `gn help` documentation. |
44 * [Style guide](https://chromium.googlesource.com/chromium/src/+/master/tools/ gn/docs/style_guide.md) | 44 * [Style guide](docs/style_guide.md) |
45 * [Cross compiling and toolchains](https://chromium.googlesource.com/chromium/ src/+/master/tools/gn/docs/cross_compiles.md) | 45 * [Cross compiling and toolchains](docs/cross_compiles.md) |
46 * [Hacking on GN itself](https://chromium.googlesource.com/chromium/src/+/mast er/tools/gn/docs/hacking.md) | 46 * [Hacking on GN itself](docs/hacking.md) |
47 * [GNStandalone](https://chromium.googlesource.com/chromium/src/+/master/tools /gn/docs/standalone.md) Standalone GN projects | 47 * [GNStandalone](docs/standalone.md) Standalone GN projects |
48 * [UpdateGNBinaries](https://chromium.googlesource.com/chromium/src/+/master/t ools/gn/docs/update_binaries.md) Pushing new binaries | 48 * [UpdateGNBinaries](docs/update_binaries.md) Pushing new binaries |
49 * [Check](https://chromium.googlesource.com/chromium/src/+/master/tools/gn/doc s/check.md) `gn check` command reference | 49 * [Check](docs/check.md) `gn check` command reference |
OLD | NEW |