Index: tools/gn/ninja_copy_target_writer.h |
diff --git a/tools/gn/ninja_copy_target_writer.h b/tools/gn/ninja_copy_target_writer.h |
index cadbc3882a150a593a2cb2f87319fb52dd9e700d..58003dc92cc0670164d4689b3d31d97641722ba8 100644 |
--- a/tools/gn/ninja_copy_target_writer.h |
+++ b/tools/gn/ninja_copy_target_writer.h |
@@ -8,17 +8,21 @@ |
#include "base/compiler_specific.h" |
#include "tools/gn/ninja_target_writer.h" |
+class Tool; |
+ |
// Writes a .ninja file for a copy target type. |
class NinjaCopyTargetWriter : public NinjaTargetWriter { |
public: |
- NinjaCopyTargetWriter(const Target* target, |
- const Toolchain* toolchain, |
- std::ostream& out); |
+ NinjaCopyTargetWriter(const Target* target, std::ostream& out); |
virtual ~NinjaCopyTargetWriter(); |
virtual void Run() OVERRIDE; |
private: |
+ // Writes the rules top copy the file(s), putting the computed output file |
+ // name(s) into the given vector. |
+ void WriteCopyRules(std::vector<OutputFile>* output_files); |
+ |
DISALLOW_COPY_AND_ASSIGN(NinjaCopyTargetWriter); |
}; |