1 LOCAL_PATH:= $(call my-dir) 2 3 include $(CLEAR_VARS) 4 5 6 7 LOCAL_SRC_FILES:= \ 8 src/OMX_JpegEnc_Thread.c \ 9 src/OMX_JpegEnc_Utils.c \ 10 src/OMX_JpegEncoder.c \ 11 12 LOCAL_C_INCLUDES := $(TI_OMX_COMP_C_INCLUDES) \ 13 $(TI_OMX_IMAGE)/jpeg_enc/inc \ 14 15 LOCAL_SHARED_LIBRARIES := $(TI_OMX_COMP_SHARED_LIBRARIES) 16 17 LOCAL_CFLAGS := $(TI_OMX_CFLAGS) -DOMAP_2430 #-DOMX_DEBUG 18 19 LOCAL_MODULE:= libOMX.TI.JPEG.Encoder 20 21 include $(BUILD_SHARED_LIBRARY) 22 23 ######################################################### 24 ifeq ($(BUILD_JPEG_ENC_TEST),1) 25 include $(CLEAR_VARS) 26 27 LOCAL_SRC_FILES:= test/JPEGTestEnc.c 28 29 LOCAL_C_INCLUDES := $(TI_OMX_COMP_C_INCLUDES) \ 30 $(TI_OMX_IMAGE)/jpeg_enc/inc \ 31 32 LOCAL_SHARED_LIBRARIES := libOMX.TI.JPEG.Encoder 33 34 LOCAL_CFLAGS := -Wall -fpic -pipe -O0 -DOMX_DEBUG=1 35 36 LOCAL_MODULE:= JPEGTestEnc_common 37 38 include $(BUILD_EXECUTABLE) 39 endif 40 41