blob: 38fd39365fc7c0b0b3fd57d23e1e5cb2c517c11e [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/test/test_package.gni")
import("//src/graphics/lib/magma/gnbuild/magma.gni")
group("benchmark") {
testonly = true
public_deps = [
":memcpy",
":vkcopy",
":vulkan-benchmark",
]
}
test_package("vulkan-benchmark") {
deps = [
":memcpy",
":vkcopy",
]
tests = [
{
name = "vkcopy"
environments = magma_libvulkan_hardware_envs
},
{
name = "test_memcpy"
},
]
}
executable("memcpy") {
output_name = "test_memcpy"
sources = [ "test_memcpy.cc" ]
}
executable("vkcopy") {
testonly = true
sources = [ "test_vkcopy.cc" ]
deps = [
"//src/graphics/tests/common",
"//src/lib/vulkan",
]
public_deps = [
"//src/lib/fxl/test:test_settings",
"//third_party/googletest:gtest",
]
}