| # 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/fuzz.gni") |
| |
| group("tests") { |
| testonly = true |
| deps = [ ":gfx-fuzzers" ] |
| } |
| |
| fuchsia_library_fuzzer("gfx-fuzzer") { |
| sources = [ "gfx_fuzzer.cc" ] |
| deps = [ |
| "//sdk/lib/zbi-format", |
| "//zircon/system/ulib/gfx", |
| ] |
| } |
| |
| fuchsia_fuzzer_component("gfx-fuzzer-component") { |
| manifest = "meta/gfx-fuzzer.cml" |
| deps = [ ":gfx-fuzzer" ] |
| } |
| |
| fuchsia_fuzzer_package("gfx-fuzzers") { |
| cpp_fuzzer_components = [ ":gfx-fuzzer-component" ] |
| } |