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

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

Issue 2697323005: docs: Change "ChromeOS" to "Chrome OS". (Closed)
Patch Set: update more markdown files Created 3 years, 10 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 | « tools/gn/docs/cross_compiles.md ('k') | tools/mb/docs/design_spec.md » ('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 3875 matching lines...) Expand 10 before | Expand all | Expand 10 after
3886 primary object(s) of the build. It will match the OS of the default 3886 primary object(s) of the build. It will match the OS of the default
3887 toolchain. 3887 toolchain.
3888 3888
3889 In many cases, this is the same as "host_os", but in the case of 3889 In many cases, this is the same as "host_os", but in the case of
3890 cross-compiles, it may be different. This variable differs from "current_os" 3890 cross-compiles, it may be different. This variable differs from "current_os"
3891 in that it can be referenced from inside any toolchain and will always return 3891 in that it can be referenced from inside any toolchain and will always return
3892 the initial value. 3892 the initial value.
3893 3893
3894 This should be set to the most specific value possible. So, "android" or 3894 This should be set to the most specific value possible. So, "android" or
3895 "chromeos" should be used instead of "linux" where applicable, even though 3895 "chromeos" should be used instead of "linux" where applicable, even though
3896 Android and ChromeOS are both Linux variants. This can mean that one needs to 3896 Android and Chrome OS are both Linux variants. This can mean that one needs to
3897 write 3897 write
3898 3898
3899 if (target_os == "android" || target_os == "linux") { 3899 if (target_os == "android" || target_os == "linux") {
3900 # ... 3900 # ...
3901 } 3901 }
3902 3902
3903 and so forth. 3903 and so forth.
3904 3904
3905 This value is not used internally by GN for any purpose, so it may be set to 3905 This value is not used internally by GN for any purpose, so it may be set to
3906 whatever value is needed for the build. GN defaults this value to the empty 3906 whatever value is needed for the build. GN defaults this value to the empty
(...skipping 2758 matching lines...) Expand 10 before | Expand all | Expand 10 after
6665 ** \--root**: Explicitly specify source root. 6665 ** \--root**: Explicitly specify source root.
6666 ** \--runtime-deps-list-file**: Save runtime dependencies for targets in file. 6666 ** \--runtime-deps-list-file**: Save runtime dependencies for targets in file.
6667 ** \--script-executable**: Set the executable used to execute scripts. 6667 ** \--script-executable**: Set the executable used to execute scripts.
6668 ** \--threads**: Specify number of worker threads. 6668 ** \--threads**: Specify number of worker threads.
6669 ** \--time**: Outputs a summary of how long everything took. 6669 ** \--time**: Outputs a summary of how long everything took.
6670 ** \--tracelog**: Writes a Chrome-compatible trace log to the given file. 6670 ** \--tracelog**: Writes a Chrome-compatible trace log to the given file.
6671 ** -v**: Verbose logging. 6671 ** -v**: Verbose logging.
6672 ** \--version**: Prints the GN version number and exits. 6672 ** \--version**: Prints the GN version number and exits.
6673 6673
6674 ``` 6674 ```
OLDNEW
« no previous file with comments | « tools/gn/docs/cross_compiles.md ('k') | tools/mb/docs/design_spec.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698