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