summaryrefslogtreecommitdiffstats
path: root/src/intel/Android.vulkan.mk
diff options
context:
space:
mode:
authorTapani Pälli <[email protected]>2019-08-09 12:28:44 +0300
committerJordan Justen <[email protected]>2019-08-28 13:38:34 -0700
commitd8dd9a245eb73e70a6fa6273d3994020548b3178 (patch)
treeb5d1b48a574afb36f37c3b4fe70d057e91049d45 /src/intel/Android.vulkan.mk
parent181be14d430339e24dd6c7af06ef00a1c3a3e931 (diff)
anv: build libanv for gen12 in android build
Signed-off-by: Tapani Pälli <[email protected]> Reviewed-by: Jordan Justen <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/intel/Android.vulkan.mk')
-rw-r--r--src/intel/Android.vulkan.mk23
1 files changed, 23 insertions, 0 deletions
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
@@ -190,6 +190,28 @@ 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