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

Side by Side Diff: tools/gn/format_test_data/042.gn

Issue 748863003: gn format: penalty-based scheme for line breaking (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-more-disabled
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 unified diff | Download patch
OLDNEW
1 # Test both one element and two element for specifically name LHSs. 1 # Test zero, one, and multiple element for specifically named LHSs.
2 if (true) { 2 if (true) {
3 cflags = []
4 cflags_c = []
5 cflags_cc = []
6 data = []
7 datadeps = []
8 defines = []
9 deps = []
10 include_dirs = []
11 inputs = []
12 ldflags = []
13 public_deps = []
14 sources = []
15 } else if (true) {
16 cflags = [ "x" ]
17 cflags_c = [ "x" ]
18 cflags_cc = [ "x" ]
19 data = [ "x" ]
20 datadeps = [ "x" ]
21 defines = [ "x" ]
3 deps = [ "x" ] 22 deps = [ "x" ]
23 include_dirs = [ "x" ]
24 inputs = [ "x" ]
25 ldflags = [ "x" ]
26 public_deps = [ "x" ]
4 sources = [ "x" ] 27 sources = [ "x" ]
5 public_deps = [ "x" ]
6 include_dirs = ["x"]
7 defines = ["x"]
8 cflags = ["x"]
9 } else { 28 } else {
10 deps = [ "x", "y" ] 29 cflags = [ "x", "y", "z"]
11 sources = [ "x", "y" ] 30 cflags_c = [ "x", "y", "z"]
12 public_deps = [ "x", "y" ] 31 cflags_cc = [ "x", "y", "z"]
13 include_dirs = ["x", "y"] 32 data = [ "x", "y", "z"]
14 defines = ["x", "y"] 33 datadeps = [ "x", "y", "z"]
15 cflags = ["x", "y"] 34 defines = [ "x", "y", "z"]
35 deps = [ "x", "y", "z"]
36 include_dirs = [ "x", "y", "z"]
37 inputs = [ "x", "y", "z"]
38 ldflags = [ "x", "y", "z"]
39 public_deps = [ "x", "y", "z"]
40 sources = [ "x", "y", "z"]
16 } 41 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698