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

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

Issue 591373002: gn: start of format command (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-more-comment-stuff
Patch Set: change 'copyright header block' to 'standard header block' for android_webview/tools/check_licenses… 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
« no previous file with comments | « tools/gn/format_test_data/011.golden ('k') | tools/gn/format_test_data/012.golden » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/format_test_data/012.gn
diff --git a/tools/gn/format_test_data/012.gn b/tools/gn/format_test_data/012.gn
new file mode 100644
index 0000000000000000000000000000000000000000..1da385c00e89efdba1183dad69573dc7586bcef1
--- /dev/null
+++ b/tools/gn/format_test_data/012.gn
@@ -0,0 +1,16 @@
+# (A sample top level block comment)
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+if (is_win) {
+ # This is some special stuff for Windows
+ sources = ["win.cc"] } else if (is_linux) {
+
+ # This is a block comment inside the linux block, but not attached.
+
+ sources = ["linux.cc"]
+} else {
+ # A comment with trailing spaces
+sources = ["wha.cc"] }
+
« no previous file with comments | « tools/gn/format_test_data/011.golden ('k') | tools/gn/format_test_data/012.golden » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698