blob: 62a93f5fd25253569e752fed8aad83a333a01a0d [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",
]
if (use_vulkan_loader_for_tests) {
deps = [ "//third_party/vulkan_loader_and_validation_layers:vulkan" ]
} else {
deps = [ "$magma_build_root/tests/vulkan_shim" ]
}
}