[Libva] [PATCH v2 1/4] Android.mk: Conditionally build va-egl implementation
Xiang, Haihao
haihao.xiang at intel.com
Thu Aug 30 19:18:02 PDT 2012
On Tue, 2012-08-21 at 13:26 -0500, Haitao Huang wrote:
> fixed build error for va-egl and wrapped it
> in conditional flag USE_VA_EGL. EGL implementation has not been tested
> currently.
>
> Change-Id: I3b581b2e894fc205e41bb411eba6b8ee1b0da4cc
> Signed-off-by: Haitao Huang <haitao.huang at intel.com>
> ---
> va/Android.mk | 13 +++++++------
> 1 files changed, 7 insertions(+), 6 deletions(-)
>
> diff --git a/va/Android.mk b/va/Android.mk
> index e94c4b0..cea186e 100755
> --- a/va/Android.mk
> +++ b/va/Android.mk
> @@ -111,14 +111,15 @@ LOCAL_SHARED_LIBRARIES := libva
>
> include $(BUILD_SHARED_LIBRARY)
>
> -
> +ifeq ($(USE_VA_EGL), true)
> # For libva-egl
> # =====================================================
>
> include $(CLEAR_VARS)
>
> -LOCAL_SRC_FILES := \
> - egl/va_egl.c
> +LOCAL_SRC_FILES := \
> + egl/va_egl.c \
> + egl/va_egl_impl.c
Which branch are you using ? staging branch doesn't has this file.
>
> LOCAL_CFLAGS += \
> -DANDROID
> @@ -129,16 +130,16 @@ LOCAL_C_INCLUDES += \
>
> LOCAL_COPY_HEADERS_TO := libva/va
>
> -LOCAL_COPY_HEADERS := egl/va_egl.h egl/va_backend_egl.h
> +LOCAL_COPY_HEADERS := va_egl.h egl/va_backend_egl.h
>
> LOCAL_MODULE_TAGS := optional
> LOCAL_MODULE := libva-egl
>
> -LOCAL_SHARED_LIBRARIES := libva
> +LOCAL_SHARED_LIBRARIES := libva libva-android libEGL
>
> include $(BUILD_SHARED_LIBRARY)
>
> -
> +endif
> # For libva-tpi
> # =====================================================
>
More information about the Libva
mailing list