summaryrefslogtreecommitdiff
path: root/android/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'android/Android.mk')
-rw-r--r--android/Android.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/android/Android.mk b/android/Android.mk
index 4cc400f2883..2523bc4fd4a 100644
--- a/android/Android.mk
+++ b/android/Android.mk
@@ -75,6 +75,12 @@ LOCAL_SHARED_LIBRARIES += libdrm_nouveau
MESON_GEN_PKGCONFIGS += libdrm_nouveau:$(LIBDRM_VERSION)
endif
+ifneq ($(filter d3d12,$(BOARD_MESA3D_GALLIUM_DRIVERS)),)
+LOCAL_HEADER_LIBRARIES += DirectX-Headers
+LOCAL_STATIC_LIBRARIES += DirectX-Guids
+MESON_GEN_PKGCONFIGS += DirectX-Headers
+endif
+
ifneq ($(MESON_GEN_LLVM_STUB),)
MESON_LLVM_VERSION := 12.0.0
# Required for swr gallium target