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

Unified Diff: tools/gn/command_format.cc

Issue 780543003: gn format: Add 'outputs' to preferred-multiline lists (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years 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 | tools/gn/format_test_data/042.gn » ('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 0866f6f3aae594941e6a6da119146417943bce4c..456ea0f4444c3b75be39c060a0e11cd3b4d684ef 100644
--- a/tools/gn/command_format.cc
+++ b/tools/gn/command_format.cc
@@ -290,6 +290,7 @@ void Printer::AnnotatePreferedMultilineAssignment(const BinaryOpNode* binop) {
(ident->value().value() == "data" ||
ident->value().value() == "datadeps" ||
ident->value().value() == "deps" || ident->value().value() == "inputs" ||
tfarina 2014/12/03 21:19:12 would you mind moving the "inputs" part into its o
+ ident->value().value() == "outputs" ||
ident->value().value() == "public" ||
ident->value().value() == "public_deps" ||
ident->value().value() == "sources")) {
« no previous file with comments | « no previous file | tools/gn/format_test_data/042.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698