intel-gpu-tools: avoid include of cairo.h on Android builds
authortgore <tim.gore@intel.com>
Mon, 31 Mar 2014 10:55:40 +0000 (11:55 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 31 Mar 2014 12:09:29 +0000 (14:09 +0200)
commit22bc1a287eb6c0e7b89001424c895dd776f9a28b
tree288c3283ccb59f9ef88e6c418fe1da956d903129
parent4fdca96066e36cb4d41019e58c8387e0a5e0f2f5
intel-gpu-tools: avoid include of cairo.h on Android builds

A recent commit means igt_debugfs.c now needs to include igt_kms.h,
which in turn includes igt_fb.h and hence cairo.h.
We need to avoid this inclusion of cairo.h when building for Android,
(until we have a cairo port) so I have added a #ifndef around it.

Signed-off-by: Tim Gore <tim.gore@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
lib/Android.mk
lib/igt_fb.h