| # Copyright 2020 The Fuchsia Authors |
| # |
| # Use of this source code is governed by a MIT-style |
| # license that can be found in the LICENSE file or at |
| # https://opensource.org/licenses/MIT |
| |
| import("//build/cpp/cpp_fuzzer.gni") |
| |
| group("testing") { |
| testonly = true |
| deps = [] |
| if (is_fuchsia) { |
| deps += [ ":boot-option-fuzzers" ] |
| } |
| } |
| |
| fuzzer_package("boot-option-fuzzers") { |
| fuzz_host = true |
| cpp_fuzzers = [ ":basic-fuzzer" ] |
| } |
| |
| cpp_fuzzer("basic-fuzzer") { |
| sources = [ "fuzzer.cc" ] |
| deps = [ ".." ] |
| dictionary = "fuzzer-dictionary.txt" |
| } |