Index: tools/gn/item.cc |
diff --git a/tools/gn/item.cc b/tools/gn/item.cc |
index b0efd64ac0121e9f08e95e3b8736d981070d013f..4fb65d181f876e13c4016f89b8ed4c5e6de45b37 100644 |
--- a/tools/gn/item.cc |
+++ b/tools/gn/item.cc |
@@ -20,6 +20,12 @@ Config* Item::AsConfig() { |
const Config* Item::AsConfig() const { |
return nullptr; |
} |
+Pool* Item::AsPool() { |
+ return nullptr; |
+} |
+const Pool* Item::AsPool() const { |
+ return nullptr; |
+} |
Target* Item::AsTarget() { |
return nullptr; |
} |
@@ -40,6 +46,8 @@ std::string Item::GetItemTypeName() const { |
return "target"; |
if (AsToolchain()) |
return "toolchain"; |
+ if (AsPool()) |
+ return "pool"; |
NOTREACHED(); |
return "this thing that I have no idea what it is"; |
} |