1ifeq ($(BUILD_JPEG_DECODER),1) 2LOCAL_PATH:= $(call my-dir) 3 4include $(CLEAR_VARS) 5 6 7 8LOCAL_SRC_FILES:= \ 9 src/OMX_JpegDec_Thread.c \ 10 src/OMX_JpegDec_Utils.c \ 11 src/OMX_JpegDecoder.c \ 12 13LOCAL_C_INCLUDES := $(TI_OMX_COMP_C_INCLUDES) \ 14 $(TI_OMX_IMAGE)/jpeg_dec/inc \ 15 16LOCAL_SHARED_LIBRARIES := $(TI_OMX_COMP_SHARED_LIBRARIES) 17 18 19LOCAL_CFLAGS := $(TI_OMX_CFLAGS) -DOMAP_2430 #-DOMX_DEBUG 20 21LOCAL_MODULE:= libOMX.TI.JPEG.decoder 22 23include $(BUILD_SHARED_LIBRARY) 24endif 25 26######################################################### 27ifeq ($(BUILD_JPEG_DEC_TEST),1) 28include $(CLEAR_VARS) 29 30LOCAL_SRC_FILES:= tests/JPEGTest.c 31 32LOCAL_C_INCLUDES := $(TI_OMX_COMP_C_INCLUDES) \ 33 $(TI_OMX_IMAGE)/jpeg_dec/inc \ 34 35LOCAL_SHARED_LIBRARIES := libOMX.TI.JPEG.decoder 36 37LOCAL_CFLAGS := -Wall -fpic -pipe -O0 -DOMX_DEBUG=1 38 39LOCAL_MODULE:= JpegTestCommon 40 41include $(BUILD_EXECUTABLE) 42endif 43 44