| Dan Albert | 0fbb532 | 2016-10-04 17:49:33 -0700 | [diff] [blame] | 1 | // 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 |  | 
|  | 15 | ndk_headers { | 
|  | 16 | name: "libvulkan_headers", | 
|  | 17 | from: "include", | 
|  | 18 | to: "", | 
| Dan Albert | e4d4b1c | 2017-03-14 14:22:05 -0700 | [diff] [blame] | 19 | srcs: [ | 
|  | 20 | "include/vulkan/vk_platform.h", | 
|  | 21 | "include/vulkan/vulkan.h", | 
| Jesse Hall | 35b4de1 | 2018-01-17 22:06:20 -0800 | [diff] [blame] | 22 | "include/vulkan/vulkan_core.h", | 
|  | 23 | "include/vulkan/vulkan_android.h", | 
| Dan Albert | e4d4b1c | 2017-03-14 14:22:05 -0700 | [diff] [blame] | 24 | ], | 
| Dan Albert | 96b5509 | 2016-10-20 10:14:30 -0700 | [diff] [blame] | 25 | license: "include/vulkan/NOTICE", | 
| Dan Albert | 0fbb532 | 2016-10-04 17:49:33 -0700 | [diff] [blame] | 26 | } | 
|  | 27 |  | 
| Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 28 | cc_library_headers { | 
| Colin Cross | 7884c19 | 2016-12-05 13:26:22 -0800 | [diff] [blame] | 29 | name: "vulkan_headers", | 
| Dan Willemsen | f74a0a5 | 2017-04-07 14:14:08 -0700 | [diff] [blame] | 30 | vendor_available: true, | 
| Steven Moreland | 54409a3 | 2017-07-17 11:49:21 -0700 | [diff] [blame] | 31 | 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 Cross | 7884c19 | 2016-12-05 13:26:22 -0800 | [diff] [blame] | 40 | } | 
|  | 41 |  | 
| Jesse Hall | 3c18afc | 2017-08-28 21:55:32 -0700 | [diff] [blame] | 42 | cc_library_headers { | 
|  | 43 | name: "vulkan_headers_ndk", | 
|  | 44 | export_include_dirs: ["include"], | 
|  | 45 | sdk_version: "24", | 
|  | 46 | } | 
|  | 47 |  | 
| Logan Chien | 9cab7ee | 2018-03-16 17:52:26 +0800 | [diff] [blame] | 48 | llndk_library { | 
|  | 49 | name: "libvulkan", | 
|  | 50 | symbol_file: "libvulkan/libvulkan.map.txt", | 
|  | 51 | export_include_dirs: ["include"], | 
|  | 52 | } | 
|  | 53 |  | 
| Dan Albert | 0fbb532 | 2016-10-04 17:49:33 -0700 | [diff] [blame] | 54 | subdirs = [ | 
| Colin Cross | 7884c19 | 2016-12-05 13:26:22 -0800 | [diff] [blame] | 55 | "nulldrv", | 
| Dan Albert | 0fbb532 | 2016-10-04 17:49:33 -0700 | [diff] [blame] | 56 | "libvulkan", | 
| Colin Cross | 7884c19 | 2016-12-05 13:26:22 -0800 | [diff] [blame] | 57 | "tools", | 
| Yiwei Zhang | f9a57e6 | 2018-04-05 00:17:22 -0700 | [diff] [blame] | 58 | "vkjson", | 
| Dan Albert | 0fbb532 | 2016-10-04 17:49:33 -0700 | [diff] [blame] | 59 | ] |