Add copy va_tpi.h in Android.mk 78/578/1
authorRen Zhaohan <zhaohan.ren@intel.com>
Wed, 12 May 2010 04:04:28 +0000 (12:04 +0800)
committerRen Zhaohan <zhaohan.ren@intel.com>
Wed, 12 May 2010 04:04:28 +0000 (12:04 +0800)
va/Android.mk
va/va_tpi.h

index 3743cae..8b65bf2 100644 (file)
@@ -47,6 +47,8 @@ include $(CLEAR_VARS)
 LOCAL_SRC_FILES := \
    va_tpi.c \
 
+LOCAL_CFLAGS += -DANDROID \
+
 LOCAL_C_INCLUDES += \
    $(TARGET_OUT_HEADERS)/libva \
 
@@ -55,6 +57,7 @@ LOCAL_COPY_HEADERS_TO := libva/va
 LOCAL_COPY_HEADERS := \
    va.h \
    va_backend.h \
+   va_tpi.h \
    va_backend_tpi.h
 
 
index 65e6460..632639a 100644 (file)
  * from CI stack
  */
 
+#ifdef ANDROID
+#define Drawable unsigned int
+#else
+#include <X11/Xlib.h>
+#endif
+
 #include <va/va.h>
 VAStatus vaCreateSurfaceFromCIFrame (
     VADisplay dpy,