| 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 from | 10 Most operations take a build directory. The build arguments are taken from |
| (...skipping 3949 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3960 ``` | 3960 ``` |
| 3961 A list of config labels. | 3961 A list of config labels. |
| 3962 | 3962 |
| 3963 All targets depending on this one, and recursively, all targets depending on | 3963 All targets depending on this one, and recursively, all targets depending on |
| 3964 those, will have the configs listed in this variable added to them. These | 3964 those, will have the configs listed in this variable added to them. These |
| 3965 configs will also apply to the current target. | 3965 configs will also apply to the current target. |
| 3966 | 3966 |
| 3967 This addition happens in a second phase once a target and all of its | 3967 This addition happens in a second phase once a target and all of its |
| 3968 dependencies have been resolved. Therefore, a target will not see these | 3968 dependencies have been resolved. Therefore, a target will not see these |
| 3969 force-added configs in their "configs" variable while the script is running, | 3969 force-added configs in their "configs" variable while the script is running, |
| 3970 and then can not be removed. As a result, this capability should generally | 3970 and they can not be removed. As a result, this capability should generally |
| 3971 only be used to add defines and include directories necessary to compile a | 3971 only be used to add defines and include directories necessary to compile a |
| 3972 target's headers. | 3972 target's headers. |
| 3973 | 3973 |
| 3974 See also "public_configs". | 3974 See also "public_configs". |
| 3975 | 3975 |
| 3976 ``` | 3976 ``` |
| 3977 | 3977 |
| 3978 ### **Ordering of flags and values** | 3978 ### **Ordering of flags and values** |
| 3979 | 3979 |
| 3980 ``` | 3980 ``` |
| (...skipping 1446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5427 | 5427 |
| 5428 ``` | 5428 ``` |
| 5429 A list of config labels. | 5429 A list of config labels. |
| 5430 | 5430 |
| 5431 Targets directly depending on this one will have the configs listed in this | 5431 Targets directly depending on this one will have the configs listed in this |
| 5432 variable added to them. These configs will also apply to the current target. | 5432 variable added to them. These configs will also apply to the current target. |
| 5433 | 5433 |
| 5434 This addition happens in a second phase once a target and all of its | 5434 This addition happens in a second phase once a target and all of its |
| 5435 dependencies have been resolved. Therefore, a target will not see these | 5435 dependencies have been resolved. Therefore, a target will not see these |
| 5436 force-added configs in their "configs" variable while the script is running, | 5436 force-added configs in their "configs" variable while the script is running, |
| 5437 and then can not be removed. As a result, this capability should generally | 5437 and they can not be removed. As a result, this capability should generally |
| 5438 only be used to add defines and include directories necessary to compile a | 5438 only be used to add defines and include directories necessary to compile a |
| 5439 target's headers. | 5439 target's headers. |
| 5440 | 5440 |
| 5441 See also "all_dependent_configs". | 5441 See also "all_dependent_configs". |
| 5442 | 5442 |
| 5443 ``` | 5443 ``` |
| 5444 | 5444 |
| 5445 ### **Ordering of flags and values** | 5445 ### **Ordering of flags and values** |
| 5446 | 5446 |
| 5447 ``` | 5447 ``` |
| (...skipping 1204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6652 ** \--root**: Explicitly specify source root. | 6652 ** \--root**: Explicitly specify source root. |
| 6653 ** \--runtime-deps-list-file**: Save runtime dependencies for targets in file. | 6653 ** \--runtime-deps-list-file**: Save runtime dependencies for targets in file. |
| 6654 ** \--script-executable**: Set the executable used to execute scripts. | 6654 ** \--script-executable**: Set the executable used to execute scripts. |
| 6655 ** \--threads**: Specify number of worker threads. | 6655 ** \--threads**: Specify number of worker threads. |
| 6656 ** \--time**: Outputs a summary of how long everything took. | 6656 ** \--time**: Outputs a summary of how long everything took. |
| 6657 ** \--tracelog**: Writes a Chrome-compatible trace log to the given file. | 6657 ** \--tracelog**: Writes a Chrome-compatible trace log to the given file. |
| 6658 ** -v**: Verbose logging. | 6658 ** -v**: Verbose logging. |
| 6659 ** \--version**: Prints the GN version number and exits. | 6659 ** \--version**: Prints the GN version number and exits. |
| 6660 | 6660 |
| 6661 ``` | 6661 ``` |
| OLD | NEW |