1 OLD_LOCAL_PATH := $(LOCAL_PATH) 2 LOCAL_PATH := $(call my-dir) 3 include $(CLEAR_VARS) 4 5 LOCAL_CFLAGS+= -D_ANDROID_ 6 LOCAL_COPY_HEADERS_TO := mm-camera-interface 7 LOCAL_COPY_HEADERS = inc/mm_jpeg_interface.h 8 9 LOCAL_C_INCLUDES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include 10 LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include/media 11 LOCAL_ADDITIONAL_DEPENDENCIES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr 12 13 LOCAL_C_INCLUDES += \ 14 $(LOCAL_PATH)/inc \ 15 $(LOCAL_PATH)/../common \ 16 $(LOCAL_PATH)/../../../ \ 17 $(LOCAL_PATH)/../../../inc \ 18 19 LOCAL_SRC_FILES := \ 20 src/mm_jpeg_queue.c \ 21 src/mm_jpeg.c \ 22 src/mm_jpeg_interface.c 23 24 LOCAL_MODULE := libmmjpeg_interface 25 LOCAL_PRELINK_MODULE := false 26 LOCAL_SHARED_LIBRARIES := libdl libcutils liblog 27 LOCAL_MODULE_TAGS := optional 28 29 include $(BUILD_SHARED_LIBRARY) 30 31 LOCAL_PATH := $(OLD_LOCAL_PATH) 32