intel-gpu-tools: fix some include path problems on android builds

When building within the android tree (specifically in /external)
the compilation fails due to the wrong versions of some header files
getting picked up. This commit adds some include paths to ensure the
correct headers are found

Signed-off-by: Tim Gore <tim.gore@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
tgore 2014-03-28 12:54:59 +00:00 committed by Daniel Vetter
parent a96c634076
commit e599ff443c
2 changed files with 6 additions and 0 deletions

View File

@ -17,6 +17,9 @@ define add_test
# Excessive complaining for established cases. Rely on the Linux version warnings.
LOCAL_CFLAGS += -Wno-sign-compare
LOCAL_C_INCLUDES = $(LOCAL_PATH)/../lib
LOCAL_C_INCLUDES += ${ANDROID_BUILD_TOP}/external/PRIVATE/drm/include/drm
LOCAL_MODULE := $1
LOCAL_MODULE_TAGS := optional

View File

@ -18,6 +18,9 @@ define add_tool
# Excessive complaining for established cases. Rely on the Linux version warnings.
LOCAL_CFLAGS += -Wno-sign-compare
LOCAL_C_INCLUDES = $(LOCAL_PATH)/../lib
LOCAL_C_INCLUDES += ${ANDROID_BUILD_TOP}/external/PRIVATE/drm/include/drm
LOCAL_MODULE := $1
LOCAL_MODULE_TAGS := optional