Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Unified Diff: tools/gn/gyp_script_target_writer.h

Issue 80463004: GN generator for GYP actions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/gn/gyp_binary_target_writer.cc ('k') | tools/gn/gyp_script_target_writer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « tools/gn/gyp_binary_target_writer.cc ('k') | tools/gn/gyp_script_target_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698