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

Unified Diff: tools/gn/format_test_data/004.gn

Issue 591373002: gn: start of format command (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-more-comment-stuff
Patch Set: ignore blockcomment in list eval Created 6 years, 3 months 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/004.gn
diff --git a/tools/gn/format_test_data/004.gn b/tools/gn/format_test_data/004.gn
new file mode 100644
index 0000000000000000000000000000000000000000..f36d039cf4c7727f209f8f47a27cc3de44cb2022
--- /dev/null
+++ b/tools/gn/format_test_data/004.gn
@@ -0,0 +1,10 @@
+# This is a block comment that goes at the top of the file and is attached to
+# the top level target.
+executable("test") {
+ sources = [
+ "stuff.cc",# Comment attached to list item.
+ "things.cc"
+ ]
+ # Comment attached to statement.
+ deps = [ "//base", ]
+}

Powered by Google App Engine
This is Rietveld 408576698