Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(291)

Side by Side Diff: tools/gn/docs/reference.md

Issue 2045713003: Fix documentation for "pool" object in gn binary. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | tools/gn/functions.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 ```
OLDNEW
« no previous file with comments | « no previous file | tools/gn/functions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698