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

Unified Diff: tools/gn/command_clean.cc

Issue 952053004: Fix 'gn clean'. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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/command_clean.cc
diff --git a/tools/gn/command_clean.cc b/tools/gn/command_clean.cc
index 57304be6c5e28c128b1c88421e3a8ad3a489aa23..904a9d741bc8a0a65cd20fa42713f81148fc4a13 100644
--- a/tools/gn/command_clean.cc
+++ b/tools/gn/command_clean.cc
@@ -27,7 +27,7 @@ std::string ExtractGNBuildCommands(const base::FilePath& build_ninja_file) {
}
std::vector<std::string> lines;
- base::SplitString(file_contents, '\n', &lines);
+ base::SplitStringDontTrim(file_contents, '\n', &lines);
std::string result;
int num_blank_lines = 0;
« 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