blob: c23d09320d62931b175752ce10edb25fd31b523d [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("//garnet/lib/magma/gnbuild/magma.gni")
group("benchmark") {
testonly = true
public_deps = [
":memcpy",
":vkcopy",
]
}
executable("memcpy") {
output_name = "magma_memcpy"
sources = [
"test_memcpy.cc",
]
}
executable("vkcopy") {
testonly = true
sources = [
"test_vkcopy.cc",
]
public_deps = [
"$magma_build_root/src/magma_util",
]
deps = [
"//garnet/lib/magma/tests/helper:config_namespace_helper",
]
if (use_vulkan_loader_for_tests) {
deps += [ "//third_party/vulkan_loader_and_validation_layers:vulkan" ]
} else {
deps += [ "$magma_build_root/tests/vulkan_shim" ]
}
}