summaryrefslogtreecommitdiff
path: root/lib/Android.mk
diff options
context:
space:
mode:
authorTim Gore <tim.gore@intel.com>2014-10-02 16:26:32 +0100
committerThomas Wood <thomas.wood@intel.com>2014-10-02 16:39:36 +0100
commit764772c3c8059a6a9d1a569d9c4bd180e11c4d33 (patch)
treeb8bf8622fc79fd4adaa3a6b428c5a5537448f6f6 /lib/Android.mk
parent4306538d1d3f60877866c39c9ca953cc5e541dae (diff)
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>
Diffstat (limited to 'lib/Android.mk')
-rw-r--r--lib/Android.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Android.mk b/lib/Android.mk
index 5739c80a..bd8cf585 100644
--- a/lib/Android.mk
+++ b/lib/Android.mk
@@ -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 \