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

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

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 unified diff | Download patch
« tools/gn/command_format.cc ('K') | « tools/gn/format_test_data/042.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Test zero, one, and multiple element for specifically named LHSs. 1 # Test zero, one, and multiple element for specifically named LHSs.
2 if (true) { 2 if (true) {
3 cflags = [] 3 cflags = []
4 cflags_c = [] 4 cflags_c = []
5 cflags_cc = [] 5 cflags_cc = []
6 data = [] 6 data = []
7 datadeps = [] 7 datadeps = []
8 defines = [] 8 defines = []
9 deps = [] 9 deps = []
10 include_dirs = [] 10 include_dirs = []
11 inputs = [] 11 inputs = []
12 ldflags = [] 12 ldflags = []
13 outputs = []
13 public_deps = [] 14 public_deps = []
14 sources = [] 15 sources = []
15 } else if (true) { 16 } else if (true) {
16 cflags = [ "x" ] 17 cflags = [ "x" ]
17 cflags_c = [ "x" ] 18 cflags_c = [ "x" ]
18 cflags_cc = [ "x" ] 19 cflags_cc = [ "x" ]
19 data = [ 20 data = [
20 "x", 21 "x",
21 ] 22 ]
22 datadeps = [ 23 datadeps = [
23 "x", 24 "x",
24 ] 25 ]
25 defines = [ "x" ] 26 defines = [ "x" ]
26 deps = [ 27 deps = [
27 "x", 28 "x",
28 ] 29 ]
29 include_dirs = [ "x" ] 30 include_dirs = [ "x" ]
30 inputs = [ 31 inputs = [
31 "x", 32 "x",
32 ] 33 ]
33 ldflags = [ "x" ] 34 ldflags = [ "x" ]
35 outputs = [
36 "x",
37 ]
34 public_deps = [ 38 public_deps = [
35 "x", 39 "x",
36 ] 40 ]
37 sources = [ 41 sources = [
38 "x", 42 "x",
39 ] 43 ]
40 } else { 44 } else {
41 cflags = [ 45 cflags = [
42 "x", 46 "x",
43 "y", 47 "y",
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 inputs = [ 85 inputs = [
82 "x", 86 "x",
83 "y", 87 "y",
84 "z", 88 "z",
85 ] 89 ]
86 ldflags = [ 90 ldflags = [
87 "x", 91 "x",
88 "y", 92 "y",
89 "z", 93 "z",
90 ] 94 ]
95 outputs = [
96 "x",
97 "y",
98 "z",
99 ]
91 public_deps = [ 100 public_deps = [
92 "x", 101 "x",
93 "y", 102 "y",
94 "z", 103 "z",
95 ] 104 ]
96 sources = [ 105 sources = [
97 "x", 106 "x",
98 "y", 107 "y",
99 "z", 108 "z",
100 ] 109 ]
101 } 110 }
OLDNEW
« tools/gn/command_format.cc ('K') | « tools/gn/format_test_data/042.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698