const std::string &get_tag() const { return tag; }
+ /** Returns the architecture this tool build for. May return null if the
+ tool is architecture-agnostic. */
+ const Architecture *get_architecture() const { return architecture; }
+
/** Returns a target for the tool's own executable. If the tool does not
use an external program, returns null. */
FileTarget *get_executable() const { return executable; }