diff options
| author | Shinichiro Hamaji <shinichiro.hamaji@gmail.com> | 2015-09-28 17:18:59 +0900 |
|---|---|---|
| committer | Shinichiro Hamaji <shinichiro.hamaji@gmail.com> | 2015-09-28 17:39:18 +0900 |
| commit | f9869fcb895d9840c779e007a8d618cadf1ca4a6 (patch) | |
| tree | 663e88ef8793eadb495da8ff0e6279e9302e1bdb /ninja.h | |
| parent | 04756699b9a9bcd7eb2b49dd7b20a503cc5ca61a (diff) | |
[C++] Use g_flags instead of passing flags to ninja.cc
Diffstat (limited to 'ninja.h')
| -rw-r--r-- | ninja.h | 11 |
1 files changed, 2 insertions, 9 deletions
@@ -27,20 +27,13 @@ using namespace std; struct DepNode; class Evaluator; -void GenerateNinja(const char* ninja_suffix, - const char* ninja_dir, - const vector<DepNode*>& nodes, +void GenerateNinja(const vector<DepNode*>& nodes, Evaluator* ev, bool build_all_targets, const string& orig_args, double start_time); -bool NeedsRegen(const char* ninja_suffix, - const char* ninja_dir, - bool ignore_kati_binary, - bool dump_kati_stamp, - double start_time, - const string& orig_args); +bool NeedsRegen(double start_time, const string& orig_args); // Exposed only for test. bool GetDepfileFromCommand(string* cmd, string* out); |
