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

Side by Side Diff: tools/gn/format_test_data/004.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/003.golden ('k') | tools/gn/format_test_data/007.golden » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # This is a block comment that goes at the top of the file and is attached to 1 # This is a block comment that goes at the top of the file and is attached to
2 # the top level target. 2 # the top level target.
3 executable("test") { 3 executable("test") {
4 sources = [ 4 sources = [
5 "stuff.cc", # Comment attached to list item. 5 "stuff.cc", # Comment attached to list item.
6 "things.cc", 6 "things.cc",
7 ] 7 ]
8 8
9 # Comment attached to statement. 9 # Comment attached to statement.
10 deps = [ "//base" ] 10 deps = [
11 "//base",
12 ]
11 } 13 }
OLDNEW
« no previous file with comments | « tools/gn/format_test_data/003.golden ('k') | tools/gn/format_test_data/007.golden » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698