Index: tools/gn/target.cc |
diff --git a/tools/gn/target.cc b/tools/gn/target.cc |
index 206db8398609bfc959f41f9700605fdc9da4b369..aafdc4fedce82579452e522357e17519127e483e 100644 |
--- a/tools/gn/target.cc |
+++ b/tools/gn/target.cc |
@@ -543,7 +543,8 @@ void Target::FillOutputFiles() { |
// These don't get linked to and use stamps which should be the first |
// entry in the outputs. These stamps are named |
// "<target_out_dir>/<targetname>.stamp". |
- dependency_output_file_ = GetTargetOutputDirAsOutputFile(this); |
+ dependency_output_file_ = |
+ GetBuildDirForTargetAsOutputFile(this, BuildDirType::OBJ); |
dependency_output_file_.value().append(GetComputedOutputName()); |
dependency_output_file_.value().append(".stamp"); |
break; |