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

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

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: Tweak order according to dpranke's comment 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
OLDNEW
1 source_set("test") { 1 source_set("test") {
2 a = "a"
2 deps = [ 3 deps = [
3 ":b", 4 ":a",
4 "../d", 5 "a",
6 "a:a",
7 "a/a",
5 "//a", 8 "//a",
6 "//c", 9 "//a:a",
10 "//a/a",
11 a,
7 ] 12 ]
8 13
9 public_deps = [] 14 public_deps = []
10 if (condition) { 15 if (condition) {
11 public_deps += [ 16 public_deps += [
12 ":x", 17 ":a",
13 "../z", 18 "a",
14 "//w", 19 "a:a",
15 "//y", 20 "a/a",
21 "//a",
22 "//a:a",
23 "//a/a",
24 a,
16 ] 25 ]
17 } 26 }
18 } 27 }
OLDNEW
« no previous file with comments | « tools/gn/format_test_data/063.gn ('k') | tools/gn/parse_tree.cc » ('j') | tools/gn/parse_tree.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698