blob: 5d0e56755c20c7830eae3d880e22b3551553a15e [file] [log] [blame]
# Copyright 2017 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/config/fuchsia/zircon_images.gni")
import("//build/package.gni")
group("benchmarks") {
testonly = true
deps = [
":fuchsia_benchmarks",
":kernel-boot-benchmarks",
"//src/tests/benchmarks/fidl:benchmarks",
]
}
executable("fuchsia_benchmarks_bin") {
output_name = "fuchsia_benchmarks"
sources = [ "benchmarks.cc" ]
deps = [ "//garnet/testing/benchmarking:benchmarking" ]
}
package("fuchsia_benchmarks") {
testonly = true
binaries = [
{
name = rebase_path("benchmarks.sh")
dest = "benchmarks.sh"
},
{
shell = true
name = "fuchsia_benchmarks"
},
{
name = rebase_path("benchmarks_perfcompare.sh")
dest = "benchmarks_perfcompare.sh"
},
]
deps = [ ":fuchsia_benchmarks_bin" ]
}
executable("kernel-boot-timeline") {
testonly = true
sources = [ "kernel_boot_timeline.cc" ]
deps = [
"//sdk/fidl/fuchsia.kernel",
"//sdk/lib/sys/cpp",
"//src/lib/inspect_deprecated:reader",
"//zircon/system/ulib/perftest",
]
}
package("kernel-boot-benchmarks") {
testonly = true
binaries = [
{
shell = true
name = "kernel-boot-timeline"
},
]
deps = [ ":kernel-boot-timeline" ]
}