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

Unified Diff: tools/gn/command_format.cc

Issue 1335313003: Replace instances of datadeps --> data_deps. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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 | « tools/android/md5sum/BUILD.gn ('k') | tools/gn/docs/language.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/command_format.cc
diff --git a/tools/gn/command_format.cc b/tools/gn/command_format.cc
index 81424ab7a445a291b02ba0caefc2b5a21d7a573b..9aeeca58369521544b287734a86c959e44d75f3c 100644
--- a/tools/gn/command_format.cc
+++ b/tools/gn/command_format.cc
@@ -299,7 +299,7 @@ void Printer::AnnotatePreferredMultilineAssignment(const BinaryOpNode* binop) {
// things, but not flags things.
if (binop->op().value() == "=" && ident && list) {
const base::StringPiece lhs = ident->value().value();
- if (lhs == "data" || lhs == "datadeps" || lhs == "deps" ||
+ if (lhs == "data" || lhs == "data_deps" || lhs == "deps" ||
eroman 2015/09/12 00:35:46 Not sure whether this is desired or not..
lhs == "inputs" || lhs == "outputs" || lhs == "public" ||
lhs == "public_deps" || lhs == "sources") {
const_cast<ListNode*>(list)->set_prefer_multiline(true);
« no previous file with comments | « tools/android/md5sum/BUILD.gn ('k') | tools/gn/docs/language.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698