Descriptiongn format: Make defines, deps, and sources lists always multline
Results of formatting all of src are here: https://codereview.chromium.org/704363002/
ps#3 is before this patch, ps#4 is with this patch.
Usage is pretty inconsistent, we frequently have all of
1.
deps = [ "x" ]
2.
deps = [
"x"
]
3.
deps = [
"x",
]
I categorize 2 as "wrong".
I could use "keep input style" to decide which of 1 & 3 to output (2 would change to 3), but on the other hand, I can't really discern any reason in most cases for why either 1 or 3 was chosen, so it seems like the sort of thing a formatter should really take an opinion on.
Anyone have strong ones?
R=brettw@chromium.org, brettw@chromium.org
BUG=348474
Patch Set 1 #
Total comments: 2
Patch Set 2 : change distingished names, not on -=d:/src/depot_tools/git-1.9.0.chromium.6_bin/+=, no default arg #Patch Set 3 : rebase #
Messages
Total messages: 11 (1 generated)
|