# 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("fuzzer") { | |
testonly = true | |
deps = [ | |
":example_fuzzers", | |
] | |
} | |
fuzzers_package("example_fuzzers") { | |
fuzzers = [ ":baz_fuzzer" ] | |
fuzz_host = true | |
} | |
fuzzer("baz_fuzzer") { | |
sources = [ | |
"target.cc", | |
] | |
deps = [ | |
":baz", | |
] | |
} | |
source_set("baz") { | |
sources = [ | |
"baz.cc", | |
] | |
deps = [ | |
"//src/lib/fxl", | |
] | |
} |