Index: tools/gn/target.cc |
diff --git a/tools/gn/target.cc b/tools/gn/target.cc |
index d512894302eb2691c0bf9f58f6a1e785a4f63586..9368749856f2bc7ed154e06244a6bc1181b8244c 100644 |
--- a/tools/gn/target.cc |
+++ b/tools/gn/target.cc |
@@ -322,7 +322,7 @@ void Target::FillOutputFiles() { |
if (!tool->depend_output().empty()) { |
dependency_output_file_ = |
SubstitutionWriter::ApplyPatternToLinkerAsOutputFile( |
- this, tool, tool->link_output()); |
+ this, tool, tool->depend_output()); |
} |
} |
break; |