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

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

Issue 748863003: gn format: penalty-based scheme for line breaking (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-more-disabled
Patch Set: x64 Created 6 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
« no previous file with comments | « tools/gn/format_test_data/044.gn ('k') | tools/gn/format_test_data/045.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/format_test_data/044.golden
diff --git a/tools/gn/format_test_data/044.golden b/tools/gn/format_test_data/044.golden
new file mode 100644
index 0000000000000000000000000000000000000000..030c5dd5dc71f17aa83c226cddd800ba52ec00ba
--- /dev/null
+++ b/tools/gn/format_test_data/044.golden
@@ -0,0 +1,11 @@
+# 80 ---------------------------------------------------------------------------
+config("compiler") {
+ if (is_win) {
+ if (is_component_build) {
+ cflags += [
+ "/EHsc", # Assume C functions can't throw exceptions and don't catch
+ # structured exceptions (only C++ ones).
+ ]
+ }
+ }
+}
« no previous file with comments | « tools/gn/format_test_data/044.gn ('k') | tools/gn/format_test_data/045.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698