OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef TOOLS_GN_GYP_SCRIPT_TARGET_WRITER_H_ |
| 6 #define TOOLS_GN_GYP_SCRIPT_TARGET_WRITER_H_ |
| 7 |
| 8 #include "base/compiler_specific.h" |
| 9 #include "tools/gn/gyp_target_writer.h" |
| 10 #include "tools/gn/target.h" |
| 11 #include "tools/gn/toolchain.h" |
| 12 |
| 13 class GypScriptTargetWriter : public GypTargetWriter { |
| 14 public: |
| 15 GypScriptTargetWriter(const TargetGroup& group, |
| 16 const SourceDir& gyp_dir, |
| 17 std::ostream& out); |
| 18 virtual ~GypScriptTargetWriter(); |
| 19 |
| 20 virtual void Run() OVERRIDE; |
| 21 |
| 22 private: |
| 23 void WriteActionInputs(int indent); |
| 24 void WriteActionOutputs(int indent); |
| 25 |
| 26 DISALLOW_COPY_AND_ASSIGN(GypScriptTargetWriter); |
| 27 }; |
| 28 |
| 29 #endif // TOOLS_GN_GYP_SCRIPT_TARGET_WRITER_H_ |
OLD | NEW |