anv/android: Fix Autotools build for VK_ANDROID_native_buffer
authorChad Versace <chadversary@chromium.org>
Thu, 28 Jun 2018 02:40:44 +0000 (19:40 -0700)
committerChad Versace <chadversary@chromium.org>
Wed, 11 Jul 2018 18:09:16 +0000 (11:09 -0700)
commit8e403bc959dee007cad58742147fa118202ccb03
treeca0f3604c49f060f18a60eb0c4489eb59e146313
parent4a67ce886a7b3def5f66c1aedf9e5436d157a03c
anv/android: Fix Autotools build for VK_ANDROID_native_buffer

Changes to vk.xml and anv_entrypoints_gen.py broke the Autotools build
on Android. The changes undef'd the VK_ANDROID_native_buffer entrypoints
in anv_entrypoints.h.

Fix it with CPPFLAGS += -DVK_USE_PLATFORM_ANDROID_KHR.

CC: <mesa-stable@lists.freedesktop.org>
See-Also: 63525ba7 "android: enable VK_ANDROID_native_buffer"
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/intel/Makefile.vulkan.am