summaryrefslogtreecommitdiff
path: root/va/Android.mk
blob: 3743cae6f374f631ae46ba377cd81f523e73d224 (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# For libva_android
# =====================================================

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.cpp


LOCAL_CFLAGS += -DHAVE_CONFIG_H \
       -DANDROID \

LOCAL_C_INCLUDES += \
   $(TARGET_OUT_HEADERS)/libva \
   $(LOCAL_PATH)/x11 

LOCAL_CXX := g++

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)


# For libva_android_tpi
# =====================================================

include $(CLEAR_VARS)

LOCAL_SRC_FILES := \
   va_tpi.c \

LOCAL_C_INCLUDES += \
   $(TARGET_OUT_HEADERS)/libva \

LOCAL_COPY_HEADERS_TO := libva/va

LOCAL_COPY_HEADERS := \
   va.h \
   va_backend.h \
   va_backend_tpi.h


LOCAL_MODULE := libva_android_tpi

include $(BUILD_SHARED_LIBRARY)