-
Notifications
You must be signed in to change notification settings - Fork 11
/
g1_vp8_test.mk
45 lines (33 loc) · 1.51 KB
/
g1_vp8_test.mk
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
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_C_INCLUDES += $(IMX_VPU_INCLUDES)
LOCAL_SRC_FILES := decoder_sw/software/test/common/swhw/tb_stream_corrupt.c \
decoder_sw/software/test/common/swhw/tb_params_g1.c \
decoder_sw/software/test/common/swhw/tb_cfg.c \
decoder_sw/software/test/common/swhw/tb_md5.c \
decoder_sw/software/test/common/swhw/md5.c \
decoder_sw/software/test/common/swhw/tb_tiled.c \
decoder_sw/software/test/vp8/dectestbench.c \
decoder_sw/software/test/vp8/ivf.c \
decoder_sw/software/test/vp8/vp8filereader.c \
decoder_sw/software/test/vp8/vp8writeoutput.c \
decoder_sw/software/test/vp8/vp8bufferalloc.c
LOCAL_CFLAGS += $(IMX_VPU_CFLAGS)
LOCAL_LDFLAGS += $(IMX_VPU_LDFLAGS)
LOCAL_CFLAGS += $(IMX_VPU_G1_CFLAGS)
LOCAL_LDFLAGS += $(IMX_VPU_G1_LDFLAGS)
LOCAL_C_INCLUDES += $(IMX_VPU_INCLUDES)
LOCAL_CFLAGS += -DGET_FREE_BUFFER_NON_BLOCK -DGET_OUTPUT_BUFFER_NON_BLOCK -DGET_OUTPUT_BUFFER_NON_BLOCK
LOCAL_CFLAGS += -DFIFO_DATATYPE=addr_t
LOCAL_CFLAGS_arm64 += -DUSE_64BIT_ENV
LOCAL_C_INCLUDES += device/fsl/common/kernel-headers
LOCAL_C_INCLUDES += $(LOCAL_PATH)/decoder_sw \
$(LOCAL_PATH)/decoder_sw/software/test/common \
$(LOCAL_PATH)/decoder_sw/software/test/common/swhw \
$(LOCAL_PATH)/decoder_sw/software/source/vp8
LOCAL_SHARED_LIBRARIES += libg1
LOCAL_32_BIT_ONLY := true
LOCAL_MODULE:= g1dec_vp8_test
LOCAL_MODULE_TAGS := eng
LOCAL_VENDOR_MODULE := true
include $(BUILD_EXECUTABLE)