| 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 2133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2144 | 2144 |
| 2145 ``` | 2145 ``` |
| 2146 ## **pool**: Defines a pool object. | 2146 ## **pool**: Defines a pool object. |
| 2147 | 2147 |
| 2148 ``` | 2148 ``` |
| 2149 Pool objects can be applied to a tool to limit the parallelism of the | 2149 Pool objects can be applied to a tool to limit the parallelism of the |
| 2150 build. This object has a single property "depth" corresponding to | 2150 build. This object has a single property "depth" corresponding to |
| 2151 the number of tasks that may run simultaneously. | 2151 the number of tasks that may run simultaneously. |
| 2152 | 2152 |
| 2153 As the file containing the pool definition may be executed in the | 2153 As the file containing the pool definition may be executed in the |
| 2154 of more than one toolchain it is recommended to specify an explicit | 2154 context of more than one toolchain it is recommended to specify an |
| 2155 toolchain when definining and referencing a pool. | 2155 explicit toolchain when defining and referencing a pool. |
| 2156 | 2156 |
| 2157 A pool is referenced by its label just like a target. | 2157 A pool is referenced by its label just like a target. |
| 2158 | 2158 |
| 2159 ``` | 2159 ``` |
| 2160 | 2160 |
| 2161 ### **Variables** | 2161 ### **Variables** |
| 2162 | 2162 |
| 2163 ``` | 2163 ``` |
| 2164 depth* | 2164 depth* |
| 2165 * = required | 2165 * = required |
| (...skipping 3925 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6091 ** \--root**: Explicitly specify source root. | 6091 ** \--root**: Explicitly specify source root. |
| 6092 ** \--runtime-deps-list-file**: Save runtime dependencies for targets in file. | 6092 ** \--runtime-deps-list-file**: Save runtime dependencies for targets in file. |
| 6093 ** \--script-executable**: Set the executable used to execute scripts. | 6093 ** \--script-executable**: Set the executable used to execute scripts. |
| 6094 ** \--threads**: Specify number of worker threads. | 6094 ** \--threads**: Specify number of worker threads. |
| 6095 ** \--time**: Outputs a summary of how long everything took. | 6095 ** \--time**: Outputs a summary of how long everything took. |
| 6096 ** \--tracelog**: Writes a Chrome-compatible trace log to the given file. | 6096 ** \--tracelog**: Writes a Chrome-compatible trace log to the given file. |
| 6097 ** -v**: Verbose logging. | 6097 ** -v**: Verbose logging. |
| 6098 ** \--version**: Prints the GN version number and exits. | 6098 ** \--version**: Prints the GN version number and exits. |
| 6099 | 6099 |
| 6100 ``` | 6100 ``` |
| OLD | NEW |