Index: tools/gn/bundle_file_rule.cc |
diff --git a/tools/gn/bundle_file_rule.cc b/tools/gn/bundle_file_rule.cc |
index e23361fbc5843ef8407439b613f9145c64033ec7..5c4fc270b46bd0379fba69d01f4026317278050b 100644 |
--- a/tools/gn/bundle_file_rule.cc |
+++ b/tools/gn/bundle_file_rule.cc |
@@ -46,7 +46,7 @@ SourceFile BundleFileRule::ApplyPatternToSource( |
break; |
default: |
output_path.append(SubstitutionWriter::GetSourceSubstitution( |
- settings, source_file, subrange.type, |
+ target_, target_->settings(), source_file, subrange.type, |
SubstitutionWriter::OUTPUT_ABSOLUTE, SourceDir())); |
break; |
} |