| # 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") |
| |
| config("vk_common_public_config") { |
| # Unlike the sources here, clients use "common/vk/..." to include the headers. |
| include_dirs = [ graphics_compute_dir ] |
| } |
| |
| source_set("vk") { |
| public = [ |
| "vk_assert.h", |
| "vk_barrier.h", |
| "vk_cache.h", |
| "vk_debug.h", |
| "vk_find_mem_type_idx.h", |
| "vk_shader_info_amd.h", |
| ] |
| sources = [ |
| "vk_assert.c", |
| "vk_assert.h", |
| "vk_barrier.c", |
| "vk_barrier.h", |
| "vk_cache.c", |
| "vk_cache.h", |
| "vk_debug.c", |
| "vk_debug.h", |
| "vk_find_mem_type_idx.c", |
| "vk_find_mem_type_idx.h", |
| "vk_shader_info_amd.c", |
| "vk_shader_info_amd.h", |
| ] |
| deps = [ |
| "${graphics_compute_dir}/common", |
| graphics_compute_vulkan_loader_target, |
| ] |
| } |