1 // Copyright 2019 The Android Open Source Project 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 // This module defines which headers are included in the NDK sysroot during 16 // the NDK build process. 17 ndk_headers { 18 name: "ndk_vulkan_headers", 19 from: "include", 20 to: "", 21 srcs: [ 22 "include/vulkan/vk_platform.h", 23 "include/vulkan/vulkan.h", 24 "include/vulkan/vulkan_core.h", 25 "include/vulkan/vulkan_android.h", 26 ], 27 license: "NOTICE", 28 } 29 30 // This module makes Vulkan headers available to other modules without 31 // having to link against libvulkan.so, e.g. for the Vulkan loader and 32 // drivers, or things that dlopen libvulkan.so. It's available to system 33 // modules, as part of the VNDK, and to unbundled modules. 34 cc_library_headers { 35 name: "vulkan_headers", 36 export_include_dirs: ["include"], 37 vendor_available: true, 38 sdk_version: "24", 39 } 40 41 // This module makes Vulkan headers available to vendor code that is 42 // restricted to LLNDK dependencies. 43 llndk_headers { 44 name: "vulkan_headers_llndk", 45 export_include_dirs: ["include"], 46 } 47