android: loader: use the installed libdrm headers

One step closer to the way we handle automake builds.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
This commit is contained in:
Emil Velikov 2014-07-29 00:18:11 +01:00
parent db064b7054
commit 5f3022e97f

View file

@ -35,11 +35,9 @@ LOCAL_SRC_FILES := \
# swrast only
ifeq ($(MESA_GPU_DRIVERS),swrast)
LOCAL_CFLAGS += -D__NOT_HAVE_DRM_H
LOCAL_CFLAGS += -D__NOT_HAVE_DRM_H
else
LOCAL_C_INCLUDES += \
$(DRM_TOP)/include/drm \
$(DRM_TOP)
LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/libdrm
endif
LOCAL_MODULE := libloader