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