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

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

Issue 2591863002: Fix a typo in GN documentation (Closed)
Patch Set: Created 3 years, 12 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/substitution_writer.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 from 10 Most operations take a build directory. The build arguments are taken from
(...skipping 6566 matching lines...) Expand 10 before | Expand all | Expand 10 after
6577 source file is in a different directory than the BUILD.gn file. 6577 source file is in a different directory than the BUILD.gn file.
6578 "//foo/bar/baz.txt" => "gen/foo/bar" 6578 "//foo/bar/baz.txt" => "gen/foo/bar"
6579 6579
6580 {{source_out_dir}} 6580 {{source_out_dir}}
6581 The object file directory (*) corresponding to the source file's path, 6581 The object file directory (*) corresponding to the source file's path,
6582 relative to the build directory. this us be different than the target's 6582 relative to the build directory. this us be different than the target's
6583 out directory if the source file is in a different directory than the 6583 out directory if the source file is in a different directory than the
6584 build.gn file. 6584 build.gn file.
6585 "//foo/bar/baz.txt" => "obj/foo/bar" 6585 "//foo/bar/baz.txt" => "obj/foo/bar"
6586 6586
6587 {{source_target_relative}}\n" 6587 {{source_target_relative}}
6588 The path to the source file relative to the target's directory. This will 6588 The path to the source file relative to the target's directory. This will
6589 generally be used for replicating the source directory layout in the 6589 generally be used for replicating the source directory layout in the
6590 output directory. This can only be used in actions and it is an error to 6590 output directory. This can only be used in actions and it is an error to
6591 use in process_file_template where there is no "target". 6591 use in process_file_template where there is no "target".
6592 "//foo/bar/baz.txt" => "baz.txt" 6592 "//foo/bar/baz.txt" => "baz.txt"
6593 6593
6594 ``` 6594 ```
6595 6595
6596 ### **(*) Note on directories** 6596 ### **(*) Note on directories**
6597 6597
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 ```
OLDNEW
« no previous file with comments | « no previous file | tools/gn/substitution_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698