| Index: tools/gn/tool.h
|
| diff --git a/tools/gn/tool.h b/tools/gn/tool.h
|
| index f6727ed6d16761ad58569e969def2ef92bcd4add..96ff7c020d37d3771d5138463c5856ed7f731bad 100644
|
| --- a/tools/gn/tool.h
|
| +++ b/tools/gn/tool.h
|
| @@ -9,9 +9,13 @@
|
|
|
| #include "base/logging.h"
|
| #include "base/macros.h"
|
| +#include "tools/gn/label.h"
|
| +#include "tools/gn/label_ptr.h"
|
| #include "tools/gn/substitution_list.h"
|
| #include "tools/gn/substitution_pattern.h"
|
|
|
| +class Pool;
|
| +
|
| class Tool {
|
| public:
|
| enum DepsFormat {
|
| @@ -173,6 +177,9 @@ class Tool {
|
| rspfile_content_ = content;
|
| }
|
|
|
| + const LabelPtrPair<Pool>& pool() const { return pool_; }
|
| + void set_pool(const LabelPtrPair<Pool>& pool) { pool_ = pool; }
|
| +
|
| // Other functions ----------------------------------------------------------
|
|
|
| // Called when the toolchain is saving this tool, after everything is filled
|
| @@ -191,6 +198,8 @@ class Tool {
|
| return substitution_bits_;
|
| }
|
|
|
| + bool OnResolved(Err* err);
|
| +
|
| private:
|
| SubstitutionPattern command_;
|
| std::string default_output_extension_;
|
| @@ -209,6 +218,7 @@ class Tool {
|
| bool restat_;
|
| SubstitutionPattern rspfile_;
|
| SubstitutionPattern rspfile_content_;
|
| + LabelPtrPair<Pool> pool_;
|
|
|
| bool complete_;
|
|
|
|
|