blob: 0146933395994eaf644f68aa5a731ef5c0df8459 [file] [log] [blame]
# 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 = [
"${benchmark_suite_fidl_target}_hlcpp",
"//sdk/lib/fidl",
"//sdk/lib/utf-utils",
"//src/zircon/lib/zircon",
"//zircon/system/ulib/perftest",
]
}
fuchsia_package_with_single_component("fidl_microbenchmarks_libfidl") {
testonly = true
manifest = "meta/benchmark.cml"
component_name = "benchmark"
deps = [ ":bin" ]
}