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

Unified Diff: tools/gn/docs/reference.md

Issue 2211593002: Cleanup references to concurrent_links in gn binary. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@concurrent_links
Patch Set: Fix unittests. Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/gn/function_toolchain.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/docs/reference.md
diff --git a/tools/gn/docs/reference.md b/tools/gn/docs/reference.md
index d25782f09d71b4aaed639aa0ec5c9b97f7e6a7fb..f06b517e5c9f3c48f75710522da9ca1ae6b241f2 100644
--- a/tools/gn/docs/reference.md
+++ b/tools/gn/docs/reference.md
@@ -2022,6 +2022,7 @@
The output file directory corresponding to the path of the
given file, not including a trailing slash.
"//foo/bar/baz.txt" => "//out/Default/obj/foo/bar"
+
"gen_dir"
The generated file directory corresponding to the path of the
given file, not including a trailing slash.
@@ -3437,20 +3438,6 @@
requires a lot of duplicate of rules) so should only be used when
absolutely necessary.
- concurrent_links
- In integer expressing the number of links that Ninja will perform in
- parallel. GN will create a pool for shared library and executable
- link steps with this many processes. Since linking is memory- and
- I/O-intensive, projects with many large targets may want to limit
- the number of parallel steps to avoid overloading the computer.
- Since creating static libraries is generally not as intensive
- there is no limit to "alink" steps.
-
- Defaults to 0 which Ninja interprets as "no limit".
-
- The value used will be the one from the default toolchain of the
- current build.
-
```
### **Invoking targets in toolchains**:
@@ -3481,8 +3468,6 @@
### **Example**:
```
toolchain("plugin_toolchain") {
- concurrent_links = 8
-
tool("cc") {
command = "gcc {{source}}"
...
« no previous file with comments | « no previous file | tools/gn/function_toolchain.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698