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>
This commit is contained in:
committed by
Emil Velikov
parent
3bbbb63801
commit
3f2cb699cf
@@ -74,7 +74,8 @@ include $(BUILD_STATIC_LIBRARY)
|
||||
ANV_INCLUDES := \
|
||||
$(VULKAN_COMMON_INCLUDES) \
|
||||
$(call generated-sources-dir-for,STATIC_LIBRARIES,libmesa_anv_entrypoints,,) \
|
||||
$(call generated-sources-dir-for,STATIC_LIBRARIES,libmesa_nir,,)/nir
|
||||
$(call generated-sources-dir-for,STATIC_LIBRARIES,libmesa_nir,,)/nir \
|
||||
$(call generated-sources-dir-for,STATIC_LIBRARIES,libmesa_vulkan_util,,)/util
|
||||
|
||||
#
|
||||
# libanv for gen7
|
||||
@@ -172,7 +173,10 @@ LOCAL_C_INCLUDES := \
|
||||
$(ANV_INCLUDES) \
|
||||
$(MESA_TOP)/src/compiler
|
||||
|
||||
LOCAL_WHOLE_STATIC_LIBRARIES := libmesa_anv_entrypoints libmesa_genxml
|
||||
LOCAL_WHOLE_STATIC_LIBRARIES := \
|
||||
libmesa_anv_entrypoints \
|
||||
libmesa_genxml \
|
||||
libmesa_vulkan_util
|
||||
|
||||
LOCAL_GENERATED_SOURCES += $(intermediates)/anv_entrypoints.c
|
||||
|
||||
|
||||
Reference in New Issue
Block a user