blob: cbc212e46745df8367457953f6d1dfbc6474be09 [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/package.gni")
executable("topaz_benchmarks_bin") {
output_name = "topaz_benchmarks"
sources = [
"benchmarks.cc",
"gfx_benchmarks.cc",
"gfx_benchmarks.h",
]
deps = [
"//garnet/testing/benchmarking:benchmarking",
"//garnet/testing/benchmarking:is_vulkan_supported",
]
}
# Builds "benchmarks.sh" into a package that runs all Topaz benchmarks
# on CI.
package("topaz_benchmarks") {
testonly = true
deps = [
":topaz_benchmarks_bin",
]
binaries = [
{
name = rebase_path("benchmarks.sh")
dest = "benchmarks.sh"
},
{
shell = true
name = "topaz_benchmarks"
},
]
}