blob: 377c6bf8a55c86d138c1629fe1c2bc83dab9e2de [file] [log] [blame]
# Copyright 2019 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/components.gni")
import("//src/graphics/lib/magma/gnbuild/magma.gni")
executable("vk_timer_query_bin") {
testonly = true
output_name = "vk_timer_query"
sources = [ "main.cc" ]
deps = [
"../vkreadback:helper",
"//sdk/lib/fdio",
"//sdk/lib/magma_client:magma_headers",
"//src/graphics/drivers/msd-arm-mali/include",
"//src/graphics/lib/magma/src/libmagma",
"//src/graphics/magma/lib/magma/platform:semaphore",
"//src/graphics/magma/lib/magma_client/test_util:test_device_helper",
"//src/lib/fxl/test:test_settings",
"//third_party/googletest:gtest",
"//zircon/system/ulib/zx",
]
deps += [ "//src/lib/vulkan" ]
}
fuchsia_test_component("vk_timer_query_cmp") {
component_name = "vk_timer_query_test"
deps = [
":vk_timer_query_bin",
"//src/lib/vulkan/validation_layers",
]
manifest = "meta/vk_timer_query.cml"
test_type = "system"
}
fuchsia_test_package("vk-timer-query-pkg") {
package_name = "vk_timer_query_test"
test_components = [ ":vk_timer_query_cmp" ]
test_specs = {
environments = magma_libvulkan_arm_hardware_envs
}
}
group("vk_timer_query") {
testonly = true
deps = [ ":vk-timer-query-pkg" ]
}