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

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

Issue 2133873002: [GN docs] Add missing word in gn actions help string (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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_target.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 1030 matching lines...) Expand 10 before | Expand all | Expand 10 after
1041 --all --as=output 1041 --all --as=output
1042 Display the executable file names of all test executables 1042 Display the executable file names of all test executables
1043 potentially affected by a change to the given file. 1043 potentially affected by a change to the given file.
1044 1044
1045 1045
1046 ``` 1046 ```
1047 ## **action**: Declare a target that runs a script a single time. 1047 ## **action**: Declare a target that runs a script a single time.
1048 1048
1049 ``` 1049 ```
1050 This target type allows you to run a script a single time to produce 1050 This target type allows you to run a script a single time to produce
1051 or more output files. If you want to run a script once for each of a 1051 one or more output files. If you want to run a script once for each of
1052 set of input files, see "gn help action_foreach". 1052 a set of input files, see "gn help action_foreach".
1053 1053
1054 ``` 1054 ```
1055 1055
1056 ### **Inputs** 1056 ### **Inputs**
1057 1057
1058 ``` 1058 ```
1059 In an action the "sources" and "inputs" are treated the same: 1059 In an action the "sources" and "inputs" are treated the same:
1060 they're both input dependencies on script execution with no special 1060 they're both input dependencies on script execution with no special
1061 handling. If you want to pass the sources to your script, you must do 1061 handling. If you want to pass the sources to your script, you must do
1062 so explicitly by including them in the "args". Note also that this 1062 so explicitly by including them in the "args". Note also that this
(...skipping 5121 matching lines...) Expand 10 before | Expand all | Expand 10 after
6184 ** \--root**: Explicitly specify source root. 6184 ** \--root**: Explicitly specify source root.
6185 ** \--runtime-deps-list-file**: Save runtime dependencies for targets in file. 6185 ** \--runtime-deps-list-file**: Save runtime dependencies for targets in file.
6186 ** \--script-executable**: Set the executable used to execute scripts. 6186 ** \--script-executable**: Set the executable used to execute scripts.
6187 ** \--threads**: Specify number of worker threads. 6187 ** \--threads**: Specify number of worker threads.
6188 ** \--time**: Outputs a summary of how long everything took. 6188 ** \--time**: Outputs a summary of how long everything took.
6189 ** \--tracelog**: Writes a Chrome-compatible trace log to the given file. 6189 ** \--tracelog**: Writes a Chrome-compatible trace log to the given file.
6190 ** -v**: Verbose logging. 6190 ** -v**: Verbose logging.
6191 ** \--version**: Prints the GN version number and exits. 6191 ** \--version**: Prints the GN version number and exits.
6192 6192
6193 ``` 6193 ```
OLDNEW
« no previous file with comments | « no previous file | tools/gn/functions_target.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698