blob: 525a1f596e508fd20b4e461c964be9d7626226ae [file] [log] [blame]
# Copyright 2016 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("//src/graphics/lib/magma/gnbuild/magma.gni")
declare_args() {
msd_intel_gen_enable_hardware_unit_tests = false
}
group("integration") {
testonly = true
public_deps = [ ":msd_intel_gen_integration_tests" ]
}
executable("msd_intel_gen_integration_tests") {
testonly = true
defines =
[ "ENABLE_HARDWARE_UNIT_TESTS=$msd_intel_gen_enable_hardware_unit_tests" ]
sources = [
"test_execute.cc",
"test_hang_recovery.cc",
"test_hardware_unit_tests.cc",
"test_icd_list.cc",
"test_shutdown.cc",
"test_workarounds.cc",
]
deps = [
"$magma_build_root/src/libmagma",
"../../include",
"//sdk/fidl/fuchsia.gpu.magma:fuchsia.gpu.magma_cpp",
"//src/graphics/magma/lib/magma/test_util:logger_init_helper",
"//src/graphics/magma/lib/magma/util:short_macros",
"//src/graphics/magma/lib/magma_client/test_util:inflight_list",
"//src/graphics/magma/lib/magma_client/test_util:magma_map_cpu",
"//src/graphics/magma/lib/magma_client/test_util:test_device_helper",
"//src/lib/fxl/test:gtest_main",
"//zircon/system/ulib/trace",
"//zircon/system/ulib/trace-vthread",
]
}