LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) LOCAL_SRC_FILES:= \ src/OMX_JpegEnc_Thread.c \ src/OMX_JpegEnc_Utils.c \ src/OMX_JpegEncoder.c \ LOCAL_C_INCLUDES := $(TI_OMX_COMP_C_INCLUDES) \ $(TI_OMX_IMAGE)/jpeg_enc/inc \ LOCAL_SHARED_LIBRARIES := $(TI_OMX_COMP_SHARED_LIBRARIES) LOCAL_CFLAGS := $(TI_OMX_CFLAGS) -DOMAP_2430 #-DOMX_DEBUG LOCAL_MODULE:= libOMX.TI.JPEG.Encoder include $(BUILD_SHARED_LIBRARY) ######################################################### ifeq ($(BUILD_JPEG_ENC_TEST),1) include $(CLEAR_VARS) LOCAL_SRC_FILES:= test/JPEGTestEnc.c LOCAL_C_INCLUDES := $(TI_OMX_COMP_C_INCLUDES) \ $(TI_OMX_IMAGE)/jpeg_enc/inc \ LOCAL_SHARED_LIBRARIES := libOMX.TI.JPEG.Encoder LOCAL_CFLAGS := -Wall -fpic -pipe -O0 -DOMX_DEBUG=1 LOCAL_MODULE:= JPEGTestEnc_common include $(BUILD_EXECUTABLE) endif