summaryrefslogtreecommitdiff
path: root/deps/zlib/contrib/tests/fuzzers/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'deps/zlib/contrib/tests/fuzzers/BUILD.gn')
-rw-r--r--deps/zlib/contrib/tests/fuzzers/BUILD.gn45
1 files changed, 45 insertions, 0 deletions
diff --git a/deps/zlib/contrib/tests/fuzzers/BUILD.gn b/deps/zlib/contrib/tests/fuzzers/BUILD.gn
new file mode 100644
index 0000000000..c46b664400
--- /dev/null
+++ b/deps/zlib/contrib/tests/fuzzers/BUILD.gn
@@ -0,0 +1,45 @@
+# Copyright 2017 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//testing/libfuzzer/fuzzer_test.gni")
+
+# root BUILD depends on this target. Needed for package discovery
+group("fuzzers") {
+}
+
+fuzzer_test("zlib_uncompress_fuzzer") {
+ sources = [
+ "uncompress_fuzzer.cc",
+ ]
+ deps = [
+ "../../../:zlib",
+ ]
+}
+
+fuzzer_test("zlib_inflate_fuzzer") {
+ sources = [
+ "inflate_fuzzer.cc",
+ ]
+ deps = [
+ "../../../:zlib",
+ ]
+}
+
+fuzzer_test("zlib_deflate_set_dictionary_fuzzer") {
+ sources = [
+ "deflate_set_dictionary_fuzzer.cc",
+ ]
+ deps = [
+ "../../../:zlib",
+ ]
+}
+
+fuzzer_test("zlib_deflate_fuzzer") {
+ sources = [
+ "deflate_fuzzer.cc",
+ ]
+ deps = [
+ "../../../:zlib",
+ ]
+}