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

Unified Diff: tools/gn/toolchain.h

Issue 508763002: Hook up link pools in GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: parens Created 6 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
Index: tools/gn/toolchain.h
diff --git a/tools/gn/toolchain.h b/tools/gn/toolchain.h
index 8264577e0b0c367cd6ff90d268f3d20cce3b4a93..393596cb2917f7d11832f0412307cca078939214 100644
--- a/tools/gn/toolchain.h
+++ b/tools/gn/toolchain.h
@@ -108,9 +108,16 @@ class Toolchain : public Item {
return substitution_bits_;
}
+ void set_concurrent_links(int cl) { concurrent_links_ = cl; }
+ int concurrent_links() const { return concurrent_links_; }
+
private:
scoped_ptr<Tool> tools_[TYPE_NUMTYPES];
+ // How many links to run in parallel. Only the default toolchain's version of
+ // this variable applies.
+ int concurrent_links_;
+
bool setup_complete_;
// Substitutions used by the tools in this toolchain.

Powered by Google App Engine
This is Rietveld 408576698