android: anv: drop libdrm_intel dependency
authorMauro Rossi <issor.oruam@gmail.com>
Thu, 29 Jun 2017 00:46:38 +0000 (02:46 +0200)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 29 Jun 2017 11:31:00 +0000 (12:31 +0100)
In addition to Rob Herring "Android: i965: remove libdrm_intel dependency",
we can drop libdrm_intel dependency in anv for Android.

Please check if libdrm has to stay as shared dependency and drop this comment line.

Fixes: 7dd20bc ("anv/i965: drop libdrm_intel dependency completely")
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/intel/Android.vulkan.mk

index 095a75bbd477be97d50ce31426cb27b4473a5769..8f8366aa7ffaf151886967912441a2be474db509 100644 (file)
@@ -33,6 +33,7 @@ VULKAN_COMMON_INCLUDES := \
        $(MESA_TOP)/src/vulkan/wsi \
        $(MESA_TOP)/src/vulkan/util \
        $(MESA_TOP)/src/intel \
+       $(MESA_TOP)/src/intel/drm \
        $(MESA_TOP)/src/intel/vulkan
 
 # libmesa_anv_entrypoints with header and dummy.c
@@ -93,7 +94,7 @@ LOCAL_C_INCLUDES := $(ANV_INCLUDES)
 
 LOCAL_WHOLE_STATIC_LIBRARIES := libmesa_anv_entrypoints libmesa_genxml
 
-LOCAL_SHARED_LIBRARIES := libdrm_intel
+LOCAL_SHARED_LIBRARIES := libdrm
 
 include $(MESA_COMMON_MK)
 include $(BUILD_STATIC_LIBRARY)