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

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

Issue 1766163002: gn format: Support # NOSORT to disable sorting of blocks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 9 months 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/command_format_unittest.cc ('k') | tools/gn/format_test_data/066.golden » ('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 # Suppress sorting based on comment.
2
3 # NOSORT
4 sources = []
5
6 # NOSORT
7 sources = [
8 "a",
9 ]
10
11 # NOSORT
12 sources += [
13 "a",
14 ]
15
16 # NOSORT
17 sources = [
18 "z",
19 "z2",
20 "a",
21 "y.cc",
22 ]
23
24 # NOSORT
25 sources += [
26 "z",
27 "z2",
28 "a",
29 "y.cc",
30 ]
OLDNEW
« no previous file with comments | « tools/gn/command_format_unittest.cc ('k') | tools/gn/format_test_data/066.golden » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698