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

Unified Diff: tools/gn/ninja_binary_target_writer.cc

Issue 2410253002: GN: Fix flags writing for targets with unsupported PCHs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 2 months 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/ninja_binary_target_writer.cc
diff --git a/tools/gn/ninja_binary_target_writer.cc b/tools/gn/ninja_binary_target_writer.cc
index da46149efa6b162180238c97d7414b8fdb06f9b5..9772b85a1eb01d03ad3d2df35caae72f7914b8e9 100644
--- a/tools/gn/ninja_binary_target_writer.cc
+++ b/tools/gn/ninja_binary_target_writer.cc
@@ -480,6 +480,9 @@ void NinjaBinaryTargetWriter::WriteOneFlag(
pch_file.erase(pch_file.length() - 4);
out_ << " -include " << pch_file;
}
+ } else {
+ RecursiveTargetConfigStringsToStream(target_, getter,
+ flag_escape_options, out_);
}
} else {
RecursiveTargetConfigStringsToStream(target_, getter,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698