| # 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("../../../../../gn/build_rules.gni") |
| |
| # |
| # spinel_vk_context: create and destroy a Spinel context |
| # |
| graphics_compute_vulkan_executable("spinel_vk_context") { |
| sources = [ |
| "main.c", |
| ] |
| include_dirs = |
| [ "$root_gen_dir/src/graphics/lib/compute/spinel/platforms/vk" ] |
| deps = [ |
| "${graphics_compute_dir}/common", |
| "${graphics_compute_dir}/common/vk", |
| "${graphics_compute_dir}/spinel/platforms/vk", |
| "${graphics_compute_dir}/spinel/platforms/vk/targets/vendors/amd/gcn3:generate", |
| "${graphics_compute_dir}/spinel/platforms/vk/targets/vendors/intel/gen8:generate", |
| "${graphics_compute_dir}/spinel/platforms/vk/targets/vendors/nvidia/sm50:generate", |
| ] |
| } |