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

Unified Diff: tools/gn/toolchain.h

Issue 2006923004: Add support for user defined "pool" to GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 6 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 0c2072626224666ce6d9ec6fa243fadeb7c52bef..76858dea0033f622e6b2b9f8d625a1bf20e4eaa3 100644
--- a/tools/gn/toolchain.h
+++ b/tools/gn/toolchain.h
@@ -78,6 +78,7 @@ class Toolchain : public Item {
static std::string ToolTypeToName(ToolType type);
// Returns null if the tool hasn't been defined.
+ Tool* GetTool(ToolType type);
const Tool* GetTool(ToolType type) const;
// Set a tool. When all tools are configured, you should call
« tools/gn/functions.cc ('K') | « tools/gn/tool.h ('k') | tools/gn/toolchain.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698