Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1658)

Unified Diff: tools/gn/bundle_file_rule.cc

Issue 2387763002: Support for source_target_relative expansion in GN (Closed)
Patch Set: Rebased Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/gn/action_values.cc ('k') | tools/gn/desc_builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « tools/gn/action_values.cc ('k') | tools/gn/desc_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698