| # Copyright 2020 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/components.gni") |
| import("//build/fidl/fidl.gni") |
| import("//build/testing/environments.gni") |
| import("//src/tests/benchmarks/fidl/benchmark_suite/benchmark_suite.gni") |
| |
| executable("bin") { |
| output_name = "lib_fidl_microbenchmarks" |
| testonly = true |
| sources = [ |
| "benchmarks.cc", |
| "main.cc", |
| ] |
| deps = [ |
| "//src/zircon/lib/zircon", |
| "//zircon/system/ulib/fidl", |
| "//zircon/system/ulib/perftest", |
| benchmark_suite_fidl_target, |
| ] |
| } |
| |
| fuchsia_shell_package("lib-fidl") { |
| testonly = true |
| deps = [ ":bin" ] |
| } |