31 lines · plain
1# This file is licensed under the Apache License v2.0 with LLVM Exceptions.2# See https://llvm.org/LICENSE.txt for license information.3# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception4 5package(6 default_visibility = ["//visibility:public"],7 licenses = ["notice"],8)9 10# Exports all headers but defining VK_NO_PROTOTYPES to disable the11# inclusion of C function prototypes. Useful if dynamically loading12# all symbols via dlopen/etc.13# Not all headers are hermetic, so they are just included as textual14# headers to disable additional validation.15cc_library(16 name = "vulkan_headers_no_prototypes",17 defines = ["VK_NO_PROTOTYPES"],18 includes = ["include"],19 textual_hdrs = glob(["include/vulkan/*.h"]),20)21 22# Exports all headers, including C function prototypes. Useful if statically23# linking against the Vulkan SDK.24# Not all headers are hermetic, so they are just included as textual25# headers to disable additional validation.26cc_library(27 name = "vulkan_headers",28 includes = ["include"],29 textual_hdrs = glob(["include/vulkan/*.h"]),30)31