lib/Android.mk: add define of IGT_DATADIR for igt_fb.c

Since the igt_create_stereo_fb function moved into igt_fb.c
we need to add the definition of IGT_DATADIR in the Android
makefile in order to build the cairo dependent tests.

Signed-off-by: Tim Gore <tim.gore@intel.com>
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
This commit is contained in:
Tim Gore 2014-10-02 16:26:32 +01:00 committed by Thomas Wood
parent 4306538d1d
commit 764772c3c8

View File

@ -35,7 +35,7 @@ LOCAL_SHARED_LIBRARIES := libpciaccess \
ifeq ("${ANDROID_HAS_CAIRO}", "1")
skip_lib_list :=
LOCAL_C_INCLUDES += $(ANDROID_BUILD_TOP)/external/cairo-1.12.16/src
LOCAL_CFLAGS += -DANDROID_HAS_CAIRO=1
LOCAL_CFLAGS += -DANDROID_HAS_CAIRO=1 -DIGT_DATADIR=\".\"
else
skip_lib_list := \
igt_kms.c \