fix fuzz

Abort early if fuzz data
breaks intersection.

R=kjlubick@google.com
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2444333002

Review-Url: https://codereview.chromium.org/2444333002
diff --git a/BUILD.gn b/BUILD.gn
index 1967016..00f70d9 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -1134,6 +1134,31 @@
     testonly = true
   }
 
+  pathops_tests_sources = exec_script("gyp/find.py",
+                                      [
+                                        "PathOps*.cpp",
+                                        rebase_path("tests"),
+                                      ],
+                                      "list lines",
+                                      [])
+
+  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"),
+        ]
+    deps = [
+      ":flags",
+      ":gpu_tool_utils",
+      ":skia",
+      ":tool_utils",
+    ]
+    testonly = true
+  }
+
   executable("dump_record") {
     sources = [
       "tools/DumpRecord.cpp",