| # Copyright 2019 The Fuchsia 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("//build/fuzzing/fuzzer.gni") |
| |
| group("tests") { |
| testonly = true |
| deps = [ ":lz4-fuzzers" ] |
| } |
| |
| fuzzer("lz4-decompress-fuzzer") { |
| sources = [ "lz4-decompress-fuzzer.cc" ] |
| deps = [ "//zircon/third_party/ulib/lz4" ] |
| } |
| |
| fuzzer("lz4-roundtrip-fuzzer") { |
| sources = [ "lz4-fuzzer.cc" ] |
| deps = [ "//zircon/third_party/ulib/lz4" ] |
| } |
| |
| fuzzers_package("lz4-fuzzers") { |
| cpp_fuzzers = [ |
| ":lz4-decompress-fuzzer", |
| ":lz4-roundtrip-fuzzer", |
| ] |
| } |