This causes emulator builds to fail. So only build this
when board config specifies the need for this module.
Change-Id: Iad623b13a8ea568830c6729efdfb41890c9ede13
Depends-Change-Id: I574e53bbefad16e7b866c550df46f4f52c831ddd
Signed-off-by: Daniel Leung <daniel.leung@intel.com>
# The main target is libGLES_mesa. For each classic driver enabled, a DRI
# module will also be built. DRI modules will be loaded by libGLES_mesa.
+ifeq ($(BOARD_USE_MESA),true)
+
MESA_TOP := $(call my-dir)
MESA_ANDROID_MAJOR_VERSION := $(word 1, $(subst ., , $(PLATFORM_VERSION)))
include $(mkfiles)
endif
+
+endif