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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/gn/format_test_data/063.golden » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/format_test_data/063.gn
diff --git a/tools/gn/format_test_data/063.gn b/tools/gn/format_test_data/063.gn
index a933f4b8cd6a9ab59f4eeced6654a0445c20d882..6e67040b56e5e30104dd1e84663a26a14ece7f4d 100644
--- a/tools/gn/format_test_data/063.gn
+++ b/tools/gn/format_test_data/063.gn
@@ -1,18 +1,23 @@
source_set("test") {
+ a = "a"
deps = [
- "//c",
"//a",
- ":b",
- "../d",
+ "//a/a",
+ "//a:a",
+ ":a",
+ "a",
+ a,
Dirk Pranke 2015/12/02 18:53:28 This is definitely not right. I would think it sho
]
public_deps = []
if (condition) {
public_deps += [
- "//y",
- "//w",
- ":x",
- "../z",
+ "//a",
+ "//a/a",
+ "//a:a",
+ ":a",
+ "a",
+ a,
]
}
}
« 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