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

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

Issue 1496653002: Sort "deps" and "public_deps" when running the "gn format" command. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « no previous file | tools/gn/format_test_data/063.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 source_set("test") { 1 source_set("test") {
2 a = "a"
2 deps = [ 3 deps = [
3 "//c",
4 "//a", 4 "//a",
5 ":b", 5 "//a/a",
6 "../d", 6 "//a:a",
7 ":a",
8 "a",
9 a,
Dirk Pranke 2015/12/02 18:53:28 This is definitely not right. I would think it sho
7 ] 10 ]
8 11
9 public_deps = [] 12 public_deps = []
10 if (condition) { 13 if (condition) {
11 public_deps += [ 14 public_deps += [
12 "//y", 15 "//a",
13 "//w", 16 "//a/a",
14 ":x", 17 "//a:a",
15 "../z", 18 ":a",
19 "a",
20 a,
16 ] 21 ]
17 } 22 }
18 } 23 }
OLDNEW
« no previous file with comments | « no previous file | tools/gn/format_test_data/063.golden » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698