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 1431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1442 The output file directory corresponding to the path of the | 1442 The output file directory corresponding to the path of the |
1443 given file, not including a trailing slash. | 1443 given file, not including a trailing slash. |
1444 "//foo/bar/baz.txt" => "//out/Default/obj/foo/bar" | 1444 "//foo/bar/baz.txt" => "//out/Default/obj/foo/bar" |
1445 "gen_dir" | 1445 "gen_dir" |
1446 The generated file directory corresponding to the path of the | 1446 The generated file directory corresponding to the path of the |
1447 given file, not including a trailing slash. | 1447 given file, not including a trailing slash. |
1448 "//foo/bar/baz.txt" => "//out/Default/gen/foo/bar" | 1448 "//foo/bar/baz.txt" => "//out/Default/gen/foo/bar" |
1449 | 1449 |
1450 "abspath" | 1450 "abspath" |
1451 The full absolute path name to the file or directory. It will be | 1451 The full absolute path name to the file or directory. It will be |
1452 resolved relative to the currebt directory, and then the source- | 1452 resolved relative to the current directory, and then the source- |
1453 absolute version will be returned. If the input is system- | 1453 absolute version will be returned. If the input is system- |
1454 absolute, the same input will be returned. | 1454 absolute, the same input will be returned. |
1455 "foo/bar.txt" => "//mydir/foo/bar.txt" | 1455 "foo/bar.txt" => "//mydir/foo/bar.txt" |
1456 "foo/" => "//mydir/foo/" | 1456 "foo/" => "//mydir/foo/" |
1457 "//foo/bar" => "//foo/bar" (already absolute) | 1457 "//foo/bar" => "//foo/bar" (already absolute) |
1458 "/usr/include" => "/usr/include" (already absolute) | 1458 "/usr/include" => "/usr/include" (already absolute) |
1459 | 1459 |
1460 If you want to make the path relative to another directory, or to | 1460 If you want to make the path relative to another directory, or to |
1461 be system-absolute, see rebase_path(). | 1461 be system-absolute, see rebase_path(). |
1462 | 1462 |
(...skipping 3361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4824 ** --nocolor**: Force non-colored output. | 4824 ** --nocolor**: Force non-colored output. |
4825 ** -q**: Quiet mode. Don't print output on success. | 4825 ** -q**: Quiet mode. Don't print output on success. |
4826 ** --root**: Explicitly specify source root. | 4826 ** --root**: Explicitly specify source root. |
4827 ** --runtime-deps-list-file**: Save runtime dependencies for targets in file. | 4827 ** --runtime-deps-list-file**: Save runtime dependencies for targets in file. |
4828 ** --time**: Outputs a summary of how long everything took. | 4828 ** --time**: Outputs a summary of how long everything took. |
4829 ** --tracelog**: Writes a Chrome-compatible trace log to the given file. | 4829 ** --tracelog**: Writes a Chrome-compatible trace log to the given file. |
4830 ** -v**: Verbose logging. | 4830 ** -v**: Verbose logging. |
4831 ** --version**: Prints the GN version number and exits. | 4831 ** --version**: Prints the GN version number and exits. |
4832 | 4832 |
4833 ``` | 4833 ``` |
OLD | NEW |