From: Tapani Pälli Date: Fri, 9 Aug 2019 09:28:44 +0000 (+0300) Subject: anv: build libanv for gen12 in android build X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d8dd9a245eb73e70a6fa6273d3994020548b3178;p=mesa.git anv: build libanv for gen12 in android build Signed-off-by: Tapani Pälli Reviewed-by: Jordan Justen Reviewed-by: Kenneth Graunke Reviewed-by: Lionel Landwerlin --- diff --git a/src/intel/Android.vulkan.mk b/src/intel/Android.vulkan.mk index f66ab5bdfa4..624b4405608 100644 --- a/src/intel/Android.vulkan.mk +++ b/src/intel/Android.vulkan.mk @@ -189,6 +189,28 @@ LOCAL_HEADER_LIBRARIES += $(VULKAN_COMMON_HEADER_LIBRARIES) include $(MESA_COMMON_MK) include $(BUILD_STATIC_LIBRARY) +# +# libanv for gen12 +# + +include $(CLEAR_VARS) +LOCAL_MODULE := libmesa_anv_gen12 +LOCAL_MODULE_CLASS := STATIC_LIBRARIES + +LOCAL_SRC_FILES := $(VULKAN_GEN12_FILES) +LOCAL_CFLAGS := -DGEN_VERSIONx10=120 + +LOCAL_C_INCLUDES := $(VULKAN_COMMON_INCLUDES) + +LOCAL_STATIC_LIBRARIES := $(ANV_STATIC_LIBRARIES) + +LOCAL_SHARED_LIBRARIES := $(ANV_SHARED_LIBRARIES) +LOCAL_HEADER_LIBRARIES += $(VULKAN_COMMON_HEADER_LIBRARIES) + +include $(MESA_COMMON_MK) +include $(BUILD_STATIC_LIBRARY) + + # # libmesa_vulkan_common # @@ -290,6 +312,7 @@ LOCAL_WHOLE_STATIC_LIBRARIES := \ libmesa_anv_gen9 \ libmesa_anv_gen10 \ libmesa_anv_gen11 \ + libmesa_anv_gen12 \ libmesa_intel_compiler LOCAL_SHARED_LIBRARIES := $(ANV_SHARED_LIBRARIES) libz libsync liblog