diff options
author | Robert Iannucci <robbie@rail.com> | 2012-10-03 23:27:27 (GMT) |
---|---|---|
committer | Robert A Iannucci Jr <iannucci@chromium.org> | 2012-11-09 04:25:39 (GMT) |
commit | aca4ec54656057e58ca7a9ae5de7f94c869b2ccb (patch) | |
tree | 4dc557e0df2399092aa6e782f86dae7aa72895a0 /src/build.h | |
parent | a4220cdcd298cb43133c241497f2edb9e5cbc8d9 (diff) | |
download | Ninja-aca4ec54656057e58ca7a9ae5de7f94c869b2ccb.zip Ninja-aca4ec54656057e58ca7a9ae5de7f94c869b2ccb.tar.gz Ninja-aca4ec54656057e58ca7a9ae5de7f94c869b2ccb.tar.bz2 |
stub out an api and de-constify Pool
Diffstat (limited to 'src/build.h')
-rw-r--r-- | src/build.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/build.h b/src/build.h index 8876d88..6bcfc07 100644 --- a/src/build.h +++ b/src/build.h @@ -15,13 +15,13 @@ #ifndef NINJA_BUILD_H_ #define NINJA_BUILD_H_ +#include <cstdio> #include <map> +#include <memory> +#include <queue> #include <set> #include <string> -#include <queue> #include <vector> -#include <memory> -#include <cstdio> #include "graph.h" // XXX needed for DependencyScan; should rearrange. #include "exit_status.h" @@ -69,6 +69,8 @@ private: bool AddSubTarget(Node* node, vector<Node*>* stack, string* err); bool CheckDependencyCycle(Node* node, vector<Node*>* stack, string* err); void NodeFinished(Node* node); + void ScheduleWork(Edge* edge); + void ResumeDelayedJobs(Edge* edge); /// Keep track of which edges we want to build in this plan. If this map does /// not contain an entry for an edge, we do not want to build the entry or its |