1 LOCAL_PATH:= $(call my-dir) 2 3 include $(CLEAR_VARS) 4 5 6 7 LOCAL_SRC_FILES:= \ 8 src/OMX_VideoDec_Thread.c \ 9 src/OMX_VideoDec_Utils.c \ 10 src/OMX_VideoDecoder.c 11 12 LOCAL_C_INCLUDES := $(TI_OMX_COMP_C_INCLUDES) \ 13 $(TI_OMX_VIDEO)/video_decode/inc \ 14 15 16 ifeq ($(PERF_INSTRUMENTATION),1) 17 LOCAL_C_INCLUDES += \ 18 $(TI_OMX_SYSTEM)/perf/inc 19 endif 20 21 LOCAL_SHARED_LIBRARIES := $(TI_OMX_COMP_SHARED_LIBRARIES) 22 23 ifeq ($(PERF_INSTRUMENTATION),1) 24 LOCAL_SHARED_LIBRARIES += \ 25 libPERF 26 endif 27 28 LOCAL_LDLIBS += \ 29 -lpthread \ 30 31 LOCAL_CFLAGS := $(TI_OMX_CFLAGS) -DANDROID -DOMAP_2430 32 33 LOCAL_MODULE:= libOMX.TI.Video.Decoder 34 35 include $(BUILD_SHARED_LIBRARY) 36