OLD | NEW |
1 # GN Reference | 1 # GN Reference |
2 | 2 |
3 *This page is automatically generated from* `gn help --markdown all`. | 3 *This page is automatically generated from* `gn help --markdown all`. |
4 | 4 |
5 ## **\--args**: Specifies build arguments overrides. | 5 ## **\--args**: Specifies build arguments overrides. |
6 | 6 |
7 ``` | 7 ``` |
8 See "gn help buildargs" for an overview of how build arguments work. | 8 See "gn help buildargs" for an overview of how build arguments work. |
9 | 9 |
10 Most operations take a build directory. The build arguments are taken | 10 Most operations take a build directory. The build arguments are taken |
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
520 gn gen <out_dir> | 520 gn gen <out_dir> |
521 | 521 |
522 Generates ninja files from the current tree and puts them in the given | 522 Generates ninja files from the current tree and puts them in the given |
523 output directory. | 523 output directory. |
524 | 524 |
525 The output directory can be a source-repo-absolute path name such as: | 525 The output directory can be a source-repo-absolute path name such as: |
526 //out/foo | 526 //out/foo |
527 Or it can be a directory relative to the current directory such as: | 527 Or it can be a directory relative to the current directory such as: |
528 out/foo | 528 out/foo |
529 | 529 |
530 See "gn help" for the common command-line switches. | 530 See "gn help switches" for the common command-line switches. |
531 | 531 |
532 | 532 |
533 ``` | 533 ``` |
534 ## **gn help <anything>** | 534 ## **gn help <anything>** |
535 ``` | 535 ``` |
536 Yo dawg, I heard you like help on your help so I put help on the help | 536 Yo dawg, I heard you like help on your help so I put help on the help |
537 in the help. | 537 in the help. |
538 | 538 |
539 | 539 |
540 ``` | 540 ``` |
(...skipping 4283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4824 ** \--nocolor**: Force non-colored output. | 4824 ** \--nocolor**: Force non-colored output. |
4825 ** -q**: Quiet mode. Don't print output on success. | 4825 ** -q**: Quiet mode. Don't print output on success. |
4826 ** \--root**: Explicitly specify source root. | 4826 ** \--root**: Explicitly specify source root. |
4827 ** \--runtime-deps-list-file**: Save runtime dependencies for targets in file. | 4827 ** \--runtime-deps-list-file**: Save runtime dependencies for targets in file. |
4828 ** \--time**: Outputs a summary of how long everything took. | 4828 ** \--time**: Outputs a summary of how long everything took. |
4829 ** \--tracelog**: Writes a Chrome-compatible trace log to the given file. | 4829 ** \--tracelog**: Writes a Chrome-compatible trace log to the given file. |
4830 ** -v**: Verbose logging. | 4830 ** -v**: Verbose logging. |
4831 ** \--version**: Prints the GN version number and exits. | 4831 ** \--version**: Prints the GN version number and exits. |
4832 | 4832 |
4833 ``` | 4833 ``` |
OLD | NEW |