| # 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/fidl_protocol_fuzzer.gni") |
| |
| source_set("echo_server_provider") { |
| testonly = true |
| |
| sources = [ "echo_server_provider.cc" ] |
| |
| public_deps = [ |
| "//garnet/examples/fidl/echo_server_cpp:lib", |
| "//sdk/lib/fidl/cpp", |
| "//sdk/lib/fidl/cpp/fuzzing", |
| "//sdk/lib/sys/cpp", |
| ] |
| } |
| |
| fidl_protocol_fuzzer("echo-fuzzer") { |
| fidl = "//garnet/examples/fidl/services:echo" |
| protocol = "fidl.examples.echo.Echo" |
| deps = [ ":echo_server_provider" ] |
| } |