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

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

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/043.golden ('k') | tools/gn/format_test_data/044.golden » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/format_test_data/044.gn
diff --git a/tools/gn/format_test_data/044.gn b/tools/gn/format_test_data/044.gn
new file mode 100644
index 0000000000000000000000000000000000000000..fe09617912d97e89ec1b72c19dc809804d752130
--- /dev/null
+++ b/tools/gn/format_test_data/044.gn
@@ -0,0 +1,10 @@
+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/043.golden ('k') | tools/gn/format_test_data/044.golden » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698