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

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

Issue 962003002: gn format: Have format sort sources (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: unsigned numbers in test Created 5 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/format_test_data/031.golden ('k') | tools/gn/format_test_data/062.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 # Sorting, making sure we don't detach comments.
2
3 sources = []
4
5 sources = ["x.cc"]
6
7 sources = [
8 "/a",
9 "/b",
10 "/c",
11 # End of block.
12 ]
13
14 sources += [
15 # Start of block, separate.
16
17 "c",
18 "a",
19 "b",
20 ]
21
22 sources += [
23 "z",
24 "z2",
25 # Attached comment.
26 "y.h",
27 "y.cc",
28 "y.mm",
29 "y.rc",
30 "a"
31 ]
32
33 sources += [
34 "z",
35 "z2",
36
37 # Block comment.
38
39 "y.h",
40 "y.cc",
41 "y.mm",
42 "y.rc",
43 "a"
44 ]
45
46 sources += [
47 "z",
48 "z2",
49
50 #
51 # Multiline block comment.
52 #
53
54 "y.h",
55 "y.cc",
56 "y.mm",
57 "y.rc",
58 "a"
59 ]
60
61 # With identifiers.
62 sources += [
63 "a",
64 "b",
65 "c",
66 some_other_thing,
67 abcd,
68 ]
69
70 # With accessors.
71 sources += [
72 "a",
73 wee[0],
74 "b",
75 invoker.stuff,
76 "c",
77 ]
78
79 # Various separated blocks.
80 sources -= [
81 # Fix this test to build on Windows.
82 "focus_cycler_unittest.cc",
83
84 # All tests for multiple displays: not supported on Windows Ash.
85 "wm/drag_window_resizer_unittest.cc",
86
87 # Accelerometer is only available on Chrome OS.
88 "wm/maximize_mode/maximize_mode_controller_unittest.cc",
89
90 # Can't resize on Windows Ash. http://crbug.com/165962
91 "autoclick/autoclick_unittest.cc",
92 "magnifier/magnification_controller_unittest.cc",
93 # Attached 1.
94 # Attached 2.
95 "wm/workspace/workspace_window_resizer_unittest.cc",
96 "sticky_keys/sticky_keys_overlay_unittest.cc",
97 "system/tray/media_security/multi_profile_media_tray_item_unittest.cc",
98 "virtual_keyboard_controller_unittest.cc",
99
100 # Separated at end.
101 "zzzzzzzzzzzzzz.cc",
102 ]
103
104 sources += [
105 "srtp/crypto/include/xfm.h",
106
107 # sources
108 "srtp/srtp/ekt.c",
109 "srtp/srtp/srtp.c",
110 "srtp/crypto/rng/prng.c",
111 "srtp/crypto/rng/rand_source.c",
112 ]
OLDNEW
« no previous file with comments | « tools/gn/format_test_data/031.golden ('k') | tools/gn/format_test_data/062.golden » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698