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 $(LOCAL_PATH)/../../../inc \ 18 19LOCAL_SRC_FILES := \ 20 src/mm_jpeg_queue.c \ 21 src/mm_jpeg.c \ 22 src/mm_jpeg_interface.c 23 24LOCAL_MODULE := libmmjpeg_interface 25LOCAL_PRELINK_MODULE := false 26LOCAL_SHARED_LIBRARIES := libdl libcutils liblog 27LOCAL_MODULE_TAGS := optional 28 29include $(BUILD_SHARED_LIBRARY) 30 31LOCAL_PATH := $(OLD_LOCAL_PATH) 32