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

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

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: x64 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
« no previous file with comments | « tools/gn/format_test_data/042.gn ('k') | tools/gn/format_test_data/043.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Test zero, one, and multiple element for specifically named LHSs.
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 = [
20 "x",
21 ]
22 datadeps = [
23 "x",
24 ]
25 defines = [ "x" ]
26 deps = [
27 "x",
28 ]
29 include_dirs = [ "x" ]
30 inputs = [
31 "x",
32 ]
33 ldflags = [ "x" ]
34 public_deps = [
35 "x",
36 ]
37 sources = [
38 "x",
39 ]
40 } else {
41 cflags = [
42 "x",
43 "y",
44 "z",
45 ]
46 cflags_c = [
47 "x",
48 "y",
49 "z",
50 ]
51 cflags_cc = [
52 "x",
53 "y",
54 "z",
55 ]
56 data = [
57 "x",
58 "y",
59 "z",
60 ]
61 datadeps = [
62 "x",
63 "y",
64 "z",
65 ]
66 defines = [
67 "x",
68 "y",
69 "z",
70 ]
71 deps = [
72 "x",
73 "y",
74 "z",
75 ]
76 include_dirs = [
77 "x",
78 "y",
79 "z",
80 ]
81 inputs = [
82 "x",
83 "y",
84 "z",
85 ]
86 ldflags = [
87 "x",
88 "y",
89 "z",
90 ]
91 public_deps = [
92 "x",
93 "y",
94 "z",
95 ]
96 sources = [
97 "x",
98 "y",
99 "z",
100 ]
101 }
OLDNEW
« no previous file with comments | « tools/gn/format_test_data/042.gn ('k') | tools/gn/format_test_data/043.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698