blob: 623ea8f43425f7f80b9e0ceb02a16e36d534f7d3 (
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
|
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
../common/va_display.c \
../common/va_display_android.cpp \
va_encode.c va_surface.c h264encode.c \
mpeg4encode.c h263encode.c vp8encode.c \
jpegencode.c jpegtables.c mpeg2encode.c \
hevcencode.c \
codedmeta.c ../utils/configrc.lex.l ../utils/configrc.yacc.y \
../android/gralloc.cpp ../utils/psnr.c ../utils/ssim.c
LOCAL_CFLAGS += \
-DANDROID -D_LINK_C
ifeq ($(TARGET_ARCH),x86_64)
LOCAL_CFLAGS += -march=x86-64
endif
LOCAL_C_INCLUDES += \
$(LOCAL_PATH)/../../va \
$(LOCAL_PATH)/../common \
$(LOCAL_PATH)/../utils \
$(TARGET_OUT_HEADERS)/libva
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE := va_encode
LOCAL_SHARED_LIBRARIES := libva-android libva libm libcutils libutils libgui libui
include $(BUILD_EXECUTABLE)
|