summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTapani Pälli <[email protected]>2017-12-12 10:01:57 +0200
committerTapani Pälli <[email protected]>2017-12-18 09:49:15 +0200
commit61756a6cebfad3d0aa80af72bb12289929cdad01 (patch)
tree94b525412ebda9aac3cd3982ba3e9d428f14d2ea
parentf94e234dd59b0de1c1e2ec51cad878046a3de010 (diff)
android: fix vulkan driver build
fixes undefined references by adding missing wsi common API Signed-off-by: Tapani Pälli <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
-rw-r--r--src/vulkan/Android.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/vulkan/Android.mk b/src/vulkan/Android.mk
index 47c5c510819..6d6df938ab8 100644
--- a/src/vulkan/Android.mk
+++ b/src/vulkan/Android.mk
@@ -36,12 +36,13 @@ LOCAL_MODULE_CLASS := STATIC_LIBRARIES
intermediates := $(call local-generated-sources-dir)
LOCAL_C_INCLUDES := \
- $(MESA_TOP)/include/vulkan
+ $(MESA_TOP)/include/vulkan \
+ $(MESA_TOP)/src/vulkan/util
LOCAL_GENERATED_SOURCES := $(addprefix $(intermediates)/, \
$(VULKAN_UTIL_GENERATED_FILES))
-LOCAL_SRC_FILES := $(VULKAN_UTIL_FILES)
+LOCAL_SRC_FILES := $(VULKAN_UTIL_FILES) $(VULKAN_WSI_FILES)
vulkan_api_xml = $(MESA_TOP)/src/vulkan/registry/vk.xml
vk_android_native_buffer_xml = $(MESA_TOP)/src/vulkan/registry/vk_android_native_buffer.xml