1# Copyright 2017 The Chromium Authors. All rights reserved. 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5import("//testing/libfuzzer/fuzzer_test.gni") 6 7# root BUILD depends on this target. Needed for package discovery 8group("fuzzers") { 9} 10 11fuzzer_test("zlib_uncompress_fuzzer") { 12 sources = [ "uncompress_fuzzer.cc" ] 13 deps = [ "../../../:zlib" ] 14} 15 16fuzzer_test("zlib_inflate_fuzzer") { 17 sources = [ "inflate_fuzzer.cc" ] 18 deps = [ "../../../:zlib" ] 19} 20 21fuzzer_test("zlib_streaming_inflate_fuzzer") { 22 sources = [ "streaming_inflate_fuzzer.cc" ] 23 deps = [ "../../../:zlib" ] 24 libfuzzer_options = [ "max_len=256000" ] 25} 26 27fuzzer_test("zlib_deflate_set_dictionary_fuzzer") { 28 sources = [ "deflate_set_dictionary_fuzzer.cc" ] 29 deps = [ "../../../:zlib" ] 30} 31 32fuzzer_test("zlib_deflate_fuzzer") { 33 sources = [ "deflate_fuzzer.cc" ] 34 deps = [ "../../../:zlib" ] 35} 36