summaryrefslogtreecommitdiffstats
path: root/tools/gn/toolchain.cc
diff options
context:
space:
mode:
authorBrett Wilson <brettw@chromium.org>2014-08-27 16:04:49 -0700
committerBrett Wilson <brettw@chromium.org>2014-08-27 23:05:51 +0000
commitd54674267a8569ea90c5f8512eff690bcb86b1d4 (patch)
treeaae68b0c6863b215f7ab884983da6dd99613658c /tools/gn/toolchain.cc
parent14ac2486c0eba1266d2da1c52e8759d9c784fe80 (diff)
downloadchromium_src-d54674267a8569ea90c5f8512eff690bcb86b1d4.zip
chromium_src-d54674267a8569ea90c5f8512eff690bcb86b1d4.tar.gz
chromium_src-d54674267a8569ea90c5f8512eff690bcb86b1d4.tar.bz2
Hook up link pools in GN.
Adds a toolchain variable "concurrent_links". The value of this variable in the default toolchain is used as the depth of the link pool for the build. Remove the "pool" stuff from the tool definitions that was never hooked up. The link pool is hardcoded in GN and is controlled by the above variable. R=scottmg@chromium.org Review URL: https://codereview.chromium.org/508763002 Cr-Commit-Position: refs/heads/master@{#292261}
Diffstat (limited to 'tools/gn/toolchain.cc')
-rw-r--r--tools/gn/toolchain.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/gn/toolchain.cc b/tools/gn/toolchain.cc
index 1171c59..341a48c 100644
--- a/tools/gn/toolchain.cc
+++ b/tools/gn/toolchain.cc
@@ -24,6 +24,7 @@ const char* Toolchain::kToolCopy = "copy";
Toolchain::Toolchain(const Settings* settings, const Label& label)
: Item(settings, label),
+ concurrent_links_(0),
setup_complete_(false) {
}