1 ifeq ($(BUILD_VPP),1) 2 LOCAL_PATH:= $(call my-dir) 3 4 include $(CLEAR_VARS) 5 6 7 8 LOCAL_SRC_FILES:= \ 9 src/OMX_VPP.c \ 10 src/OMX_VPP_Utils.c \ 11 src/OMX_VPP_CompThread.c \ 12 src/OMX_VPP_ImgConv.c \ 13 14 LOCAL_C_INCLUDES := $(TI_OMX_COMP_C_INCLUDES) \ 15 $(TI_OMX_VIDEO)/prepost_processor/inc \ 16 17 ifeq ($(PERF_INSTRUMENTATION),1) 18 LOCAL_C_INCLUDES += \ 19 $(TI_OMX_SYSTEM)/perf/inc 20 endif 21 22 LOCAL_SHARED_LIBRARIES := $(TI_OMX_COMP_SHARED_LIBRARIES) 23 24 ifeq ($(PERF_INSTRUMENTATION),1) 25 LOCAL_SHARED_LIBRARIES += \ 26 libPERF 27 endif 28 29 LOCAL_LDLIBS += \ 30 -lpthread \ 31 32 LOCAL_CFLAGS := $(TI_OMX_CFLAGS) -DANDROID -DOMAP_2430 -g 33 34 LOCAL_MODULE:= libOMX.TI.VPP 35 36 include $(BUILD_SHARED_LIBRARY) 37 endif 38 39 ######################################################### 40 ifeq ($(BUILD_VPP_TEST),1) 41 include $(CLEAR_VARS) 42 43 LOCAL_SRC_FILES:= tests/VPPTest.c 44 45 LOCAL_C_INCLUDES := $(TI_OMX_COMP_C_INCLUDES) \ 46 $(TI_OMX_VIDEO)/prepost_processor/inc \ 47 48 LOCAL_SHARED_LIBRARIES := $(TI_OMX_COMP_SHARED_LIBRARIES) 49 50 LOCAL_CFLAGS := $(TI_OMX_CFLAGS) 51 52 LOCAL_MODULE:= VPPTest_common 53 54 include $(BUILD_EXECUTABLE) 55 endif 56 57