| # Copyright 2020 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/test/test_package.gni") |
| import("//src/graphics/lib/magma/gnbuild/magma.gni") |
| |
| source_set("common") { |
| testonly = true |
| |
| sources = [ |
| "//src/graphics/tests/common/utils.cc", |
| "//src/graphics/tests/common/vulkan_context.cc", |
| "//src/graphics/tests/common/vulkan_context.h", |
| ] |
| |
| public_deps = [ |
| "//src/lib/vulkan", |
| "//third_party/googletest:gtest", |
| ] |
| } |
| |
| executable("vkcontext") { |
| testonly = true |
| |
| sources = [ "test_vkcontext.cc" ] |
| |
| deps = [ |
| ":common", |
| "//src/lib/vulkan", |
| ] |
| |
| public_deps = [ |
| "//src/lib/fxl/test:test_settings", |
| "//third_party/googletest:gtest", |
| ] |
| } |