blob: 8ac535349c13fb026ca060f2759ba75ac864694b [file] [log] [blame]
Jesse Hall25eb2f12019-04-12 13:45:34 -07001// 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.
17ndk_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.
34cc_library_headers {
35 name: "vulkan_headers",
36 export_include_dirs: ["include"],
Jason Macnak9cb71ab2020-06-30 12:59:17 -070037 host_supported: true,
Jesse Hall25eb2f12019-04-12 13:45:34 -070038 vendor_available: true,
39 sdk_version: "24",
40}
41
42// This module makes Vulkan headers available to vendor code that is
43// restricted to LLNDK dependencies.
44llndk_headers {
45 name: "vulkan_headers_llndk",
46 export_include_dirs: ["include"],
47}