| 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_ACTION_TARGET_WRITER_H_ | |
| 6 #define TOOLS_GN_GYP_ACTION_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 GypActionTargetWriter : public GypTargetWriter { | |
| 14 public: | |
| 15 GypActionTargetWriter(const TargetGroup& group, | |
| 16 const Toolchain* toolchain, | |
| 17 const SourceDir& gyp_dir, | |
| 18 std::ostream& out); | |
| 19 virtual ~GypActionTargetWriter(); | |
| 20 | |
| 21 virtual void Run() OVERRIDE; | |
| 22 | |
| 23 private: | |
| 24 void WriteActionInputs(int indent); | |
| 25 void WriteActionOutputs(int indent); | |
| 26 | |
| 27 DISALLOW_COPY_AND_ASSIGN(GypActionTargetWriter); | |
| 28 }; | |
| 29 | |
| 30 #endif // TOOLS_GN_GYP_ACTION_TARGET_WRITER_H_ | |
| OLD | NEW |