android: vulkan: add support for libmesa_vulkan_util
authorMauro Rossi <issor.oruam@gmail.com>
Tue, 28 Feb 2017 00:24:41 +0000 (01:24 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 28 Feb 2017 00:24:41 +0000 (01:24 +0100)
commit3f2cb699cfe0481f214c709b5a1375caf0a9c7fe
tree77f1c429036d86140bc59a12a071fa5b0d0a19ae
parent3bbbb63801c9c30440398563d6090029f9c7b51c
android: vulkan: add support for libmesa_vulkan_util

The following changes are implemented:

Add src/vulkan/Android.mk to build libmesa_vulkan_util
Android.mk: add src/vulkan to SUBDIR to build new module
intel/vulkan: fix libmesa_vulkan_util,vk_enum_to_str.h dependencies
Add -o OUTPUT_PATH option in src/vulkan/util/gen_enum_to_str.py script
Use -o OUTPUT_PATH option in automake generation rules for vk_enum_to_str.{c,h}

Fixes: e9dcb17 "vulkan/util: Add generator for enum_to_str functions"
Fixes: 8e03250 "vulkan: Combine wsi and util makefiles"
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
[Emil Velikov]
 - Move parser within main()
 - Use --outdir instead of -o
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Android.mk
src/intel/vulkan/Android.mk
src/vulkan/Android.mk [new file with mode: 0644]
src/vulkan/Makefile.am
src/vulkan/util/gen_enum_to_str.py