1 OLD_LOCAL_PATH := $(LOCAL_PATH) 2 LOCAL_PATH := $(call my-dir) 3 include $(CLEAR_VARS) 4 5 LOCAL_CFLAGS+= -D_ANDROID_ 6 7 LOCAL_C_INCLUDES += \ 8 frameworks/native/include/media/openmax \ 9 $(LOCAL_PATH)/inc \ 10 $(LOCAL_PATH)/../common \ 11 $(LOCAL_PATH)/../../../ \ 12 $(LOCAL_PATH)/../../../mm-image-codec/qexif \ 13 $(LOCAL_PATH)/../../../mm-image-codec/qomx_core 14 15 ifeq ($(strip $(TARGET_USES_ION)),true) 16 LOCAL_CFLAGS += -DUSE_ION 17 endif 18 19 LOCAL_SRC_FILES := \ 20 src/mm_jpeg_queue.c \ 21 src/mm_jpeg_exif.c \ 22 src/mm_jpeg.c \ 23 src/mm_jpeg_interface.c 24 25 LOCAL_MODULE := libmmjpeg_interface 26 LOCAL_PRELINK_MODULE := false 27 LOCAL_SHARED_LIBRARIES := libdl libcutils liblog libqomx_core 28 LOCAL_MODULE_TAGS := optional 29 30 include $(BUILD_SHARED_LIBRARY) 31 32 LOCAL_PATH := $(OLD_LOCAL_PATH) 33