OLD | NEW |
1 # What is GN? | 1 # What is GN? |
2 | 2 |
3 GN is a meta-build system that generates [NinjaBuild](NinjaBuild.md) | 3 GN is a meta-build system that generates |
4 files. It's meant to be faster and simpler than GYP. It outputs only | 4 [NinjaBuild](https://chromium.googlesource.com/chromium/src/+/master/docs/ninja_
build.md) |
5 Ninja build files. | 5 files. It's meant to be faster and simpler than GYP. It outputs only Ninja build |
| 6 files. |
6 | 7 |
7 ## Why bother with GN? | 8 ## Why bother with GN? |
8 | 9 |
9 1. We believe GN files are more readable and more maintainable | 10 1. We believe GN files are more readable and more maintainable |
10 than GYP files. | 11 than GYP files. |
11 2. GN is fast: | 12 2. GN is fast: |
12 * GN is 20x faster than GYP (as of mid November, building 80% | 13 * GN is 20x faster than GYP (as of mid November, building 80% |
13 of what GYP builds, in one configuration rather than two, takes 500ms | 14 of what GYP builds, in one configuration rather than two, takes 500ms |
14 on a z620 running Ubuntu Trusty. GYP takes 20 seconds. | 15 on a z620 running Ubuntu Trusty. GYP takes 20 seconds. |
15 We see similar speedups on Mac and Windows). | 16 We see similar speedups on Mac and Windows). |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 * [FAQ](docs/faq.md) | 96 * [FAQ](docs/faq.md) |
96 * [GYP conversion cookbook](docs/cookbook.md) | 97 * [GYP conversion cookbook](docs/cookbook.md) |
97 * [Language and operation details](docs/language.md) | 98 * [Language and operation details](docs/language.md) |
98 * [Reference](docs/reference.md) The built-in `gn help` documentation. | 99 * [Reference](docs/reference.md) The built-in `gn help` documentation. |
99 * [Style guide](docs/style_guide.md) | 100 * [Style guide](docs/style_guide.md) |
100 * [Cross compiling and toolchains](docs/cross_compiles.md) | 101 * [Cross compiling and toolchains](docs/cross_compiles.md) |
101 * [Hacking on GN itself](docs/hacking.md) | 102 * [Hacking on GN itself](docs/hacking.md) |
102 * [GNStandalone](docs/standalone.md) Standalone GN projects | 103 * [GNStandalone](docs/standalone.md) Standalone GN projects |
103 * [UpdateGNBinaries](docs/update_binaries.md) Pushing new binaries | 104 * [UpdateGNBinaries](docs/update_binaries.md) Pushing new binaries |
104 * [Check](docs/check.md) `gn check` command reference | 105 * [Check](docs/check.md) `gn check` command reference |
OLD | NEW |