blob: 4f6ba34f542dea227b6d35b8d51dec7692309f6f [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") {
public_deps = [
":memcpy",
":vkcopy",
]
}
executable("memcpy") {
output_name = "magma_memcpy"
sources = [ "test_memcpy.cc" ]
}
executable("vkcopy") {
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" ]
}
}