From d8dd9a245eb73e70a6fa6273d3994020548b3178 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tapani=20P=C3=A4lli?= Date: Fri, 9 Aug 2019 12:28:44 +0300 Subject: [PATCH] anv: build libanv for gen12 in android build MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Tapani Pälli Reviewed-by: Jordan Justen Reviewed-by: Kenneth Graunke Reviewed-by: Lionel Landwerlin --- src/intel/Android.vulkan.mk | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) 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 -- 2.30.2