vulkan/wsi: disable the hardware cursor
[mesa.git] / src / egl / Android.mk
index e78dd48f3ec60e24352e3d6719c115c5fc87bcf9..01c33298ee7ae08cf7a2ce16a446644980ebbc8c 100644 (file)
@@ -36,6 +36,7 @@ include $(CLEAR_VARS)
 LOCAL_SRC_FILES := \
        $(LIBEGL_C_FILES) \
        $(dri2_backend_core_FILES) \
+       drivers/dri2/platform_device.c \
        drivers/dri2/platform_android.c
 
 LOCAL_CFLAGS := \
@@ -59,6 +60,13 @@ LOCAL_SHARED_LIBRARIES := \
        libcutils \
        libsync
 
+ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 27; echo $$?), 0)
+LOCAL_C_INCLUDES += \
+       frameworks/native/libs/nativewindow/include \
+       frameworks/native/libs/arect/include
+LOCAL_HEADER_LIBRARIES += libnativebase_headers
+endif
+
 ifeq ($(BOARD_USES_DRM_GRALLOC),true)
        LOCAL_CFLAGS += -DHAVE_DRM_GRALLOC
        LOCAL_SHARED_LIBRARIES += libgralloc_drm