| # Copyright 2022 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") |
| import("//build/test.gni") |
| |
| group("tests") { |
| testonly = true |
| deps = [ ":ftl-fuzzers" ] |
| } |
| |
| group("fuzzers") { |
| testonly = true |
| deps = [ ":ftl-fuzzers" ] |
| } |
| |
| fuzzer("ftl-workload-fuzzer") { |
| deps = [ "//zircon/system/ulib/ftl/test:ftl-workload-fuzzer" ] |
| |
| # Suppress logs on stdout from library under test |
| options = [ "close_fd_mask=1" ] |
| } |
| |
| fuzzer_package("ftl-fuzzers") { |
| cpp_fuzzers = [ ":ftl-workload-fuzzer" ] |
| fuzz_host = true |
| } |