Add fuzzer for zlib's deflateSetDictionary

We want to cover all of zlib's external APIs.
deflateSetDictionary() currently isn't covered.

BUG=780926

Change-Id: Ie2da648a4d58fca0745c814b004d3859e81a85a6
Reviewed-on: https://chromium-review.googlesource.com/752070
Reviewed-by: Max Moroz <[email protected]>
Reviewed-by: Adenilson Cavalcanti <[email protected]>
Commit-Queue: Chris Blume <[email protected]>
Cr-Commit-Position: refs/heads/master@{#513917}
diff --git a/third_party/zlib/BUILD.gn b/third_party/zlib/BUILD.gn
index ea51103..31e8dc7 100644
--- a/third_party/zlib/BUILD.gn
+++ b/third_party/zlib/BUILD.gn
@@ -188,6 +188,15 @@
   ]
 }
 
+fuzzer_test("zlib_deflate_set_dictionary_fuzzer") {
+  sources = [
+    "contrib/tests/fuzzers/deflate_set_dictionary_fuzzer.cc",
+  ]
+  deps = [
+    ":zlib",
+  ]
+}
+
 config("minizip_warnings") {
   visibility = [ ":*" ]
   if (is_clang) {