| # Copyright 2022 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") | |
| # Fuchsia emulators use Goldfish. | |
| vulkan_goldfish_envs = [ aemu_env ] | |
| # x64 QEMU uses Lavapipe. | |
| vulkan_lavapipe_envs = [] | |
| # TODO(b/578611325) - address perf issues causing flakiness of graphics tests | |
| # with coverage enabled | |
| if (current_cpu == "x64" && !is_fuchsia_coverage) { | |
| vulkan_lavapipe_envs = [ qemu_env ] | |
| } | |
| # This is the complete set of test environments that support Vulkan. | |
| vulkan_envs = | |
| vulkan_goldfish_envs + vulkan_lavapipe_envs + magma_libvulkan_hardware_envs |