Index: tools/gn/action_values.cc |
diff --git a/tools/gn/action_values.cc b/tools/gn/action_values.cc |
index a7ce83da056447c4b84c85a2b39c55712505d643..28c4a11e0cbf2c86dfdfdf9ba7cba8f9f01d1e6b 100644 |
--- a/tools/gn/action_values.cc |
+++ b/tools/gn/action_values.cc |
@@ -22,7 +22,7 @@ void ActionValues::GetOutputsAsSourceFiles( |
target->output_type() == Target::ACTION_FOREACH) { |
// Copy and foreach applies the outputs to the sources. |
SubstitutionWriter::ApplyListToSources( |
- target->settings(), outputs_, target->sources(), result); |
+ target, target->settings(), outputs_, target->sources(), result); |
} else { |
// Actions (and anything else that happens to specify an output) just use |
// the output list with no substitution. |