android: radv: add libmesa_git_sha1 static dependency
authorMauro Rossi <issor.oruam@gmail.com>
Tue, 30 Oct 2018 21:35:43 +0000 (22:35 +0100)
committerMauro Rossi <issor.oruam@gmail.com>
Sat, 3 Nov 2018 09:48:45 +0000 (10:48 +0100)
libmesa_git_sha1 whole static dependency is added to get git_sha1.h header
and avoid following building error:

external/mesa/src/amd/vulkan/radv_device.c:46:10:
fatal error: 'git_sha1.h' file not found
         ^
1 error generated.

Fixes: 9d40ec2cf6 ("radv: Add support for VK_KHR_driver_properties.")
Signed-off-by: Mauro Rossi <issor.oruam@gmail.com>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
src/amd/vulkan/Android.mk

index 51b03561fa77e738454c9a31279e9b1993e2ce9e..9574bf54e5a08a2828d35f64461816b37f6ab5a4 100644 (file)
@@ -74,7 +74,8 @@ LOCAL_C_INCLUDES := \
        $(call generated-sources-dir-for,STATIC_LIBRARIES,libmesa_vulkan_util,,)/util
 
 LOCAL_WHOLE_STATIC_LIBRARIES := \
-       libmesa_vulkan_util
+       libmesa_vulkan_util \
+       libmesa_git_sha1
 
 LOCAL_GENERATED_SOURCES += $(intermediates)/radv_entrypoints.c
 LOCAL_GENERATED_SOURCES += $(intermediates)/radv_entrypoints.h