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

Unified 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: 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 side-by-side diff with in-line comments
Download patch
Index: tools/gn/format_test_data/063.golden
diff --git a/tools/gn/format_test_data/063.golden b/tools/gn/format_test_data/063.golden
index acf2843d3f6ed7e969a41c2ce55e77db4f9c2ee2..a6b40eaec62c060c054b9b654a4d1a26e2f7f3c8 100644
--- a/tools/gn/format_test_data/063.golden
+++ b/tools/gn/format_test_data/063.golden
@@ -1,18 +1,23 @@
source_set("test") {
+ a = "a"
deps = [
- ":b",
- "../d",
+ "a",
+ ":a",
"//a",
- "//c",
+ "//a:a",
+ "//a/a",
+ a,
]
public_deps = []
if (condition) {
public_deps += [
- ":x",
- "../z",
- "//w",
- "//y",
+ "a",
+ ":a",
+ "//a",
+ "//a:a",
+ "//a/a",
+ a,
]
}
}

Powered by Google App Engine
This is Rietveld 408576698