1OLD_LOCAL_PATH := $(LOCAL_PATH) 2LOCAL_PATH := $(call my-dir) 3include $(CLEAR_VARS) 4 5LOCAL_CFLAGS+= -D_ANDROID_ 6LOCAL_COPY_HEADERS_TO := mm-camera-interface 7LOCAL_COPY_HEADERS = inc/mm_jpeg_interface.h 8 9LOCAL_C_INCLUDES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include 10LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include/media 11LOCAL_ADDITIONAL_DEPENDENCIES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr 12 13LOCAL_C_INCLUDES += \ 14 $(LOCAL_PATH)/inc \ 15 $(LOCAL_PATH)/../common \ 16 $(LOCAL_PATH)/../../../ \ 17 $(TARGET_OUT_HEADERS)/mm-still \ 18 $(TARGET_OUT_HEADERS)/mm-still/jpeg \ 19 $(TARGET_OUT_HEADERS)/mm-core/omxcore \ 20 $(TARGET_OUT_HEADERS)/mm-still/mm-omx 21 22ifeq ($(strip $(TARGET_USES_ION)),true) 23 LOCAL_CFLAGS += -DUSE_ION 24endif 25 26LOCAL_SRC_FILES := \ 27 src/mm_jpeg_queue.c \ 28 src/mm_jpeg.c \ 29 src/mm_jpeg_interface.c 30 31LOCAL_MODULE := libmmjpeg_interface 32LOCAL_PRELINK_MODULE := false 33LOCAL_SHARED_LIBRARIES := libdl libcutils liblog libmmstillomx libimage-jpeg-enc-omx-comp 34LOCAL_MODULE_TAGS := optional 35 36include $(BUILD_SHARED_LIBRARY) 37 38LOCAL_PATH := $(OLD_LOCAL_PATH) 39