Index: tools/gn/ninja_target_writer.h |
diff --git a/tools/gn/ninja_target_writer.h b/tools/gn/ninja_target_writer.h |
index 5e6827d550950e990c31fa859537d7b0265edfa1..076f8b3e7f798e789f1a5939f7e886be2f0cff32 100644 |
--- a/tools/gn/ninja_target_writer.h |
+++ b/tools/gn/ninja_target_writer.h |
@@ -49,6 +49,11 @@ class NinjaTargetWriter { |
void WriteSources(std::vector<OutputFile>* object_files); |
void WriteLinkerStuff(const std::vector<OutputFile>& object_files); |
+ // Writes the build line for linking the target. Includes newline. |
+ void WriteLinkCommand(const OutputFile& external_output_file, |
+ const OutputFile& internal_output_file, |
+ const std::vector<OutputFile>& object_files); |
+ |
// Returns NULL if the source type should not be compiled on this target. |
const char* GetCommandForSourceType(SourceFileType type) const; |