blob: b15bed99c55533d5a2c7fbbcf5e111074fcfb09a [file] [log] [blame]
Dan Albert0fbb5322016-10-04 17:49:33 -07001// Copyright (C) 2016 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
15ndk_headers {
16 name: "libvulkan_headers",
17 from: "include",
18 to: "",
Dan Alberte4d4b1c2017-03-14 14:22:05 -070019 srcs: [
20 "include/vulkan/vk_platform.h",
21 "include/vulkan/vulkan.h",
Jesse Hall35b4de12018-01-17 22:06:20 -080022 "include/vulkan/vulkan_core.h",
23 "include/vulkan/vulkan_android.h",
Dan Alberte4d4b1c2017-03-14 14:22:05 -070024 ],
Dan Albert96b55092016-10-20 10:14:30 -070025 license: "include/vulkan/NOTICE",
Dan Albert0fbb5322016-10-04 17:49:33 -070026}
27
Stephen Kiazyke77dce22017-03-14 15:38:12 -070028cc_library_headers {
Colin Cross7884c192016-12-05 13:26:22 -080029 name: "vulkan_headers",
Dan Willemsenf74a0a52017-04-07 14:14:08 -070030 vendor_available: true,
Steven Moreland54409a32017-07-17 11:49:21 -070031 header_libs: [
32 "libcutils_headers",
33 "libhardware_headers",
34 ],
35 export_header_lib_headers: [
36 "libcutils_headers",
37 "libhardware_headers",
38 ],
39 export_include_dirs: ["include"],
Colin Cross7884c192016-12-05 13:26:22 -080040}
41
Jesse Hall3c18afc2017-08-28 21:55:32 -070042cc_library_headers {
43 name: "vulkan_headers_ndk",
44 export_include_dirs: ["include"],
45 sdk_version: "24",
46}
47
Logan Chien9cab7ee2018-03-16 17:52:26 +080048llndk_library {
49 name: "libvulkan",
50 symbol_file: "libvulkan/libvulkan.map.txt",
51 export_include_dirs: ["include"],
52}
53
Dan Albert0fbb5322016-10-04 17:49:33 -070054subdirs = [
Colin Cross7884c192016-12-05 13:26:22 -080055 "nulldrv",
Dan Albert0fbb5322016-10-04 17:49:33 -070056 "libvulkan",
Colin Cross7884c192016-12-05 13:26:22 -080057 "tools",
Yiwei Zhangf9a57e62018-04-05 00:17:22 -070058 "vkjson",
Dan Albert0fbb5322016-10-04 17:49:33 -070059]