blob: 34f1a22765c32a8211ef0eb62833ef97dcdd27f5 [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",
]
}
}