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

Unified Diff: tools/gn/source_file.cc

Issue 1155713006: GN: Make file/dir resolving return errors. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
Index: tools/gn/source_file.cc
diff --git a/tools/gn/source_file.cc b/tools/gn/source_file.cc
index 71d8592c1aac614b26b7c919283f369c83217624..820429552810497a6e9226265355eaada042f72e 100644
--- a/tools/gn/source_file.cc
+++ b/tools/gn/source_file.cc
@@ -18,7 +18,7 @@ void AssertValueSourceFileString(const std::string& s) {
#else
DCHECK(s[0] == '/');
#endif
- DCHECK(!EndsWithSlash(s));
+ DCHECK(!EndsWithSlash(s)) << s;
}
} // namespace

Powered by Google App Engine
This is Rietveld 408576698