summaryrefslogtreecommitdiff
path: root/vulkan/Android.bp
diff options
context:
space:
mode:
author Jesse Hall <jessehall@google.com> 2017-08-28 21:55:32 -0700
committer Jesse Hall <jessehall@google.com> 2017-08-30 16:02:41 +0000
commit3c18afcb3f1090af7d70b5ada8f66682c5838d48 (patch)
tree0e0023275a85a254f31b9d4644c0d49d0df32a74 /vulkan/Android.bp
parentc0cfe7a5ee3be385bc84f82679c2aa4d1834fd61 (diff)
Add vulkan_headers_ndk cc_library_headers module
We had a cc_library_headers module for the Vulkan headers, for use by platform and vendor modules. We also had an ndk_headers module to copy the headers into the NDK. This adds another cc_library_headers module which allows things in the Android tree but which are built against the NDK (like CTS) to use our copy of the header, rather than an NDK prebuilt. That allows CTS tests to use extensions that aren't yet present in the prebuilt NDK Vulkan header. Bug: 34745152 Test: build with accompanying external/vulkan-validation-layers changes Change-Id: Ia5f1bc086210403f8e6c023ce3c6413f74f91ff3
Diffstat (limited to 'vulkan/Android.bp')
-rw-r--r--vulkan/Android.bp6
1 files changed, 6 insertions, 0 deletions
diff --git a/vulkan/Android.bp b/vulkan/Android.bp
index 26d3c6a269..6107088557 100644
--- a/vulkan/Android.bp
+++ b/vulkan/Android.bp
@@ -37,6 +37,12 @@ cc_library_headers {
export_include_dirs: ["include"],
}
+cc_library_headers {
+ name: "vulkan_headers_ndk",
+ export_include_dirs: ["include"],
+ sdk_version: "24",
+}
+
subdirs = [
"nulldrv",
"libvulkan",