Index: tools/gn/path_output.cc |
diff --git a/tools/gn/path_output.cc b/tools/gn/path_output.cc |
index dc142b7ed918aa805e4fc98d0f48e4cc6516006b..2ef060a4d59312b06136f57be380bd21d0eecbf6 100644 |
--- a/tools/gn/path_output.cc |
+++ b/tools/gn/path_output.cc |
@@ -75,6 +75,14 @@ void PathOutput::WriteFile(std::ostream& out, const OutputFile& file) const { |
EscapeStringToStream(out, file.value(), options_); |
} |
+void PathOutput::WriteFiles(std::ostream& out, |
+ const std::vector<OutputFile>& files) const { |
+ for (size_t i = 0; i < files.size(); i++) { |
+ out << " "; |
+ WriteFile(out, files[i]); |
+ } |
+} |
+ |
void PathOutput::WriteDir(std::ostream& out, |
const OutputFile& file, |
DirSlashEnding slash_ending) const { |