blob: 39a73827626996fe663da7b8916ce0c99e40011a [file] [log] [blame] [edit]
# Copyright 2020 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/cpp/cpp_fuzzer.gni")
group("testing") {
testonly = true
deps = [ ":zbitl-fuzzers($default_toolchain)" ]
}
fuzzer_package("zbitl-fuzzers") {
fuzz_host = true
cpp_fuzzers = [
":append-fuzzer",
":copy-fuzzer",
":iteration-fuzzer",
":mem-config-fuzzer",
]
}
cpp_fuzzer("append-fuzzer") {
sources = [ "append-fuzzer.cc" ]
deps = [
"..",
"//zircon/system/ulib/fbl",
]
}
cpp_fuzzer("copy-fuzzer") {
sources = [ "copy-fuzzer.cc" ]
deps = [
"..",
"//zircon/system/ulib/fbl",
]
if (is_fuchsia) {
deps += [ "//zircon/system/ulib/zx" ]
}
}
cpp_fuzzer("iteration-fuzzer") {
sources = [ "iteration-fuzzer.cc" ]
deps = [ ".." ]
}
cpp_fuzzer("mem-config-fuzzer") {
sources = [ "mem-config-fuzzer.cc" ]
deps = [ ".." ]
}