aboutsummaryrefslogtreecommitdiff
path: root/ninja.h
diff options
context:
space:
mode:
authorShinichiro Hamaji <shinichiro.hamaji@gmail.com>2015-06-29 14:25:39 +0900
committerShinichiro Hamaji <shinichiro.hamaji@gmail.com>2015-06-29 14:25:59 +0900
commit5f86e1a2df170eadf0601f1bff6ab12a643a68c5 (patch)
treed8e9c7bde1d4305ffe3cdf1645a0b839e86d1c79 /ninja.h
parent2a04789470d2de0384753c96e7e278b77a5dc2dc (diff)
[C++] Split CommandEvaluator from Executor
This is the first step of --ninja support
Diffstat (limited to 'ninja.h')
-rw-r--r--ninja.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/ninja.h b/ninja.h
new file mode 100644
index 0000000..74cad0d
--- /dev/null
+++ b/ninja.h
@@ -0,0 +1,27 @@
+// Copyright 2015 Google Inc. All rights reserved
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#ifndef NINJA_H_
+#define NINJA_H_
+
+#include <vector>
+
+using namespace std;
+
+class DepNode;
+class Evaluator;
+
+void GenerateNinja(const vector<DepNode*>& nodes, Evaluator* ev);
+
+#endif // NINJA_H_