diff options
| author | Shinichiro Hamaji <shinichiro.hamaji@gmail.com> | 2015-07-03 15:57:45 +0900 |
|---|---|---|
| committer | Shinichiro Hamaji <shinichiro.hamaji@gmail.com> | 2015-07-03 16:20:22 +0900 |
| commit | e9f7e6731eacbdc7bd7717e3f98e511e2e35f2f0 (patch) | |
| tree | 4d64860eede4c04c017e75dcbab8204eadea36e7 /ninja.h | |
| parent | 3103ffc988152f43777a77d0436886b39da1d180 (diff) | |
[C++] Emit depfile lines from NinjaGenerator
Diffstat (limited to 'ninja.h')
| -rw-r--r-- | ninja.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -15,8 +15,11 @@ #ifndef NINJA_H_ #define NINJA_H_ +#include <string> #include <vector> +#include "string_piece.h" + using namespace std; class DepNode; @@ -24,4 +27,7 @@ class Evaluator; void GenerateNinja(const vector<DepNode*>& nodes, Evaluator* ev); +// Exposed only for test. +bool GetDepfileFromCommand(StringPiece cmd, string* out); + #endif // NINJA_H_ |
