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 15ndk_headers { 16 name: "libvulkan_headers", 17 from: "include", 18 to: "", 19 srcs: [ 20 "include/vulkan/vk_platform.h", 21 "include/vulkan/vulkan.h", 22 "include/vulkan/vulkan_core.h", 23 "include/vulkan/vulkan_android.h", 24 ], 25 license: "include/vulkan/NOTICE", 26} 27 28cc_library_headers { 29 name: "vulkan_headers", 30 vendor_available: true, 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"], 40} 41 42cc_library_headers { 43 name: "vulkan_headers_ndk", 44 export_include_dirs: ["include"], 45 sdk_version: "24", 46} 47 48llndk_library { 49 name: "libvulkan", 50 symbol_file: "libvulkan/libvulkan.map.txt", 51 export_include_dirs: ["include"], 52} 53 54subdirs = [ 55 "nulldrv", 56 "libvulkan", 57 "tools", 58 "vkjson", 59] 60