From 3c18afcb3f1090af7d70b5ada8f66682c5838d48 Mon Sep 17 00:00:00 2001 From: Jesse Hall Date: Mon, 28 Aug 2017 21:55:32 -0700 Subject: 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 --- vulkan/Android.bp | 6 ++++++ 1 file changed, 6 insertions(+) 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", -- cgit v1.2.3-59-g8ed1b