blob: 83e900c82c3f71888e44ab7d35e118b8235e08bc [file]
# 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/package.gni")
import("//build/testing/environments.gni")
executable("udp_benchmark") {
testonly = true
output_name = "udp_benchmark"
sources = [
"udp_benchmark.cc",
"util.cc",
"util.h",
]
deps = []
public_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",
]
}
package("netstack_benchmarks") {
testonly = true
deps = [ ":udp_benchmark" ]
binaries = [
{
name = "udp_benchmark"
},
]
meta = [
{
path = rebase_path("meta/udp_benchmark.cmx")
dest = "udp_benchmark.cmx"
},
]
}
group("benchmarks") {
testonly = true
deps = [ ":netstack_benchmarks" ]
}