Index: tools/gn/gyp_script_target_writer.h |
diff --git a/tools/gn/gyp_script_target_writer.h b/tools/gn/gyp_script_target_writer.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..220439128f45f2a59f8ae9e3b642fb5afd027aa3 |
--- /dev/null |
+++ b/tools/gn/gyp_script_target_writer.h |
@@ -0,0 +1,29 @@ |
+// Copyright (c) 2013 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef TOOLS_GN_GYP_SCRIPT_TARGET_WRITER_H_ |
+#define TOOLS_GN_GYP_SCRIPT_TARGET_WRITER_H_ |
+ |
+#include "base/compiler_specific.h" |
+#include "tools/gn/gyp_target_writer.h" |
+#include "tools/gn/target.h" |
+#include "tools/gn/toolchain.h" |
+ |
+class GypScriptTargetWriter : public GypTargetWriter { |
+ public: |
+ GypScriptTargetWriter(const TargetGroup& group, |
+ const SourceDir& gyp_dir, |
+ std::ostream& out); |
+ virtual ~GypScriptTargetWriter(); |
+ |
+ virtual void Run() OVERRIDE; |
+ |
+ private: |
+ void WriteActionInputs(int indent); |
+ void WriteActionOutputs(int indent); |
+ |
+ DISALLOW_COPY_AND_ASSIGN(GypScriptTargetWriter); |
+}; |
+ |
+#endif // TOOLS_GN_GYP_SCRIPT_TARGET_WRITER_H_ |