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

Side by Side Diff: tools/gn/format_test_data/012.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/011.golden ('k') | tools/gn/format_test_data/015.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 # (A sample top level block comment) 1 # (A sample top level block comment)
2 # Copyright 2014 The Chromium Authors. All rights reserved. 2 # Copyright 2014 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 if (is_win) { 6 if (is_win) {
7 # This is some special stuff for Windows 7 # This is some special stuff for Windows
8 sources = [ "win.cc" ] 8 sources = [
9 "win.cc",
10 ]
9 } else if (is_linux) { 11 } else if (is_linux) {
10 # This is a block comment inside the linux block, but not attached. 12 # This is a block comment inside the linux block, but not attached.
11 13
12 sources = [ "linux.cc" ] 14 sources = [
15 "linux.cc",
16 ]
13 } else { 17 } else {
14 # A comment with trailing spaces 18 # A comment with trailing spaces
15 sources = [ "wha.cc" ] 19 sources = [
20 "wha.cc",
21 ]
16 } 22 }
OLDNEW
« no previous file with comments | « tools/gn/format_test_data/011.golden ('k') | tools/gn/format_test_data/015.golden » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698