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

Unified Diff: tools/gn/format_test_data/063.golden

Issue 1442023002: Sort "deps" and "public_deps" when running the "gn format" command. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix typo Created 5 years, 1 month 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
new file mode 100644
index 0000000000000000000000000000000000000000..3c52772135ea21db4ac9479238784992ff3cfe3e
--- /dev/null
+++ b/tools/gn/format_test_data/063.golden
@@ -0,0 +1,17 @@
+source_set("test") {
+ deps = [
+ ":b",
+ "../d",
+ "//a",
+ "//c",
+ ]
+
+ if (condition) {
+ deps += [
+ ":x",
+ "../z",
+ "//w",
+ "//y",
+ ]
+ }
+}
« no previous file with comments | « tools/gn/format_test_data/063.gn ('k') | tools/gn/parse_tree.h » ('j') | tools/gn/parse_tree.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698