summaryrefslogtreecommitdiff
path: root/va/Android.mk
blob: eb9967d94b40c6dff297bc0a6eedda71d308c067 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
LOCAL_PATH:= $(call my-dir)

LIBVA_MINOR_VERSION := 31
LIBVA_MAJOR_VERSION := 0 

include $(CLEAR_VARS)

LOCAL_SRC_FILES := \
   va.c \
   va_trace.c \
   android/va_android.c


LOCAL_CFLAGS += -DHAVE_CONFIG_H \
       -DANDROID \

LOCAL_C_INCLUDES += \
   $(TOPDIR)kernel/include \
   $(TARGET_OUT_HEADERS)/libva \
   $(TOPDIR)kernel/include/drm

LOCAL_COPY_HEADERS_TO := libva/va

LOCAL_COPY_HEADERS := \
   va.h	\
   va_backend.h \
   va_version.h.in \
   x11/va_dricommon.h \
   va_android.h		

LOCAL_MODULE := libva_android

LOCAL_SHARED_LIBRARIES := libdl libdrm libcutils

include $(BUILD_SHARED_LIBRARY)

include $(call all-makefiles-under,$(LOCAL_PATH))