Home | History | Annotate | Download | only in vulkan
      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: "",
     19     srcs: [
     20         "include/vulkan/vk_platform.h",
     21         "include/vulkan/vulkan.h",
     22     ],
     23     license: "include/vulkan/NOTICE",
     24 }
     25 
     26 cc_library_headers {
     27     name: "vulkan_headers",
     28     vendor_available: true,
     29     header_libs: [
     30         "libcutils_headers",
     31         "libhardware_headers",
     32     ],
     33     export_header_lib_headers: [
     34         "libcutils_headers",
     35         "libhardware_headers",
     36     ],
     37     export_include_dirs: ["include"],
     38 }
     39 
     40 cc_library_headers {
     41     name: "vulkan_headers_ndk",
     42     export_include_dirs: ["include"],
     43     sdk_version: "24",
     44 }
     45 
     46 subdirs = [
     47     "nulldrv",
     48     "libvulkan",
     49     "tools",
     50 ]
     51