GN: spin off :no_exceptions as its own config.

BUG=skia:

GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4001

Change-Id: Ibaa10b9b6f566958b7e6622eedbc30a7010260b3
Reviewed-on: https://skia-review.googlesource.com/4001
Reviewed-by: Kevin Lubick <kjlubick@google.com>
Commit-Queue: Mike Klein <mtklein@chromium.org>
diff --git a/BUILD.gn b/BUILD.gn
index 00f70d9..ab9d90c 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -1119,6 +1119,9 @@
   }
 
   executable("fuzz") {
+    if (is_skia_standalone) {
+      configs -= [ "//gn:no_exceptions" ]
+    }
     sources = [
       "fuzz/FilterFuzz.cpp",
       "fuzz/FuzzGradients.cpp",
@@ -1143,13 +1146,12 @@
                                       [])
 
   executable("pathops_unittest") {
-    sources =
-        pathops_tests_sources -
-        [ rebase_path("tests/PathOpsSkpClipTest.cpp") ] +  # alternate main
-        [
-          rebase_path("tests/skia_test.cpp"),
-          rebase_path("tests/Test.cpp"),
-        ]
+    sources = pathops_tests_sources -
+              [ rebase_path("tests/PathOpsSkpClipTest.cpp") ] +
+              [
+                rebase_path("tests/skia_test.cpp"),
+                rebase_path("tests/Test.cpp"),
+              ]
     deps = [
       ":flags",
       ":gpu_tool_utils",