- ProcessingUnit processing_unit;
- VirtualFileSystem::SearchPath system_path;
- BuildInfo build_info;
- bool prepared;
- std::vector<std::string> problems;
+ ProcessingUnit processing_unit = ONE_FILE;
+ std::function<Task *(const Target &)> run_func;
+ bool prepared = false;
+
+ Tool(Builder &b, const std::string &t): Tool(b, 0, t) { }
+ Tool(Builder &b, const Architecture *a, const std::string &t): builder(b), architecture(a), tag(t) { }