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

Unified Diff: tools/gn/item.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/item.h
diff --git a/tools/gn/item.h b/tools/gn/item.h
index 069c3edc55848419f636171ac08215b23eb12e45..3ec482af1df7b11445f07eee1dcb139f48c28ae9 100644
--- a/tools/gn/item.h
+++ b/tools/gn/item.h
@@ -12,6 +12,7 @@
class Config;
class ParseNode;
+class Pool;
class Settings;
class Target;
class Toolchain;
@@ -38,6 +39,8 @@ class Item {
// Manual RTTI.
virtual Config* AsConfig();
virtual const Config* AsConfig() const;
+ virtual Pool* AsPool();
+ virtual const Pool* AsPool() const;
virtual Target* AsTarget();
virtual const Target* AsTarget() const;
virtual Toolchain* AsToolchain();
« tools/gn/functions.cc ('K') | « tools/gn/gn.gyp ('k') | tools/gn/item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698