blob: afb557bbe5dc0d522e17cb0781b5a9aa161eefb9 [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("//src/sys/build/fuchsia_component.gni")
import("//src/sys/build/fuchsia_package.gni")
executable("udp_benchmark_bin") {
testonly = true
output_name = "udp_benchmark"
sources = [
"udp_benchmark.cc",
"util.cc",
"util.h",
]
deps = [
"//src/lib/fsl",
"//src/lib/fxl",
"//zircon/public/lib/fbl",
"//zircon/system/ulib/async-loop:async-loop-cpp",
"//zircon/system/ulib/async-loop:async-loop-default",
"//zircon/system/ulib/trace",
"//zircon/system/ulib/trace-provider:trace-provider-with-fdio",
]
}
fuchsia_component("udp-benchmark") {
testonly = true
deps = [ ":udp_benchmark_bin" ]
manifest = "meta/udp_benchmark.cmx"
}
fuchsia_package("netstack-benchmarks") {
testonly = true
deps = [ ":udp-benchmark" ]
}
group("benchmarks") {
testonly = true
deps = [ ":netstack-benchmarks" ]
}