Home | History | Annotate | Download | only in mm-jpeg-interface
      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     $(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 
     22 ifeq ($(strip $(TARGET_USES_ION)),true)
     23     LOCAL_CFLAGS += -DUSE_ION
     24 endif
     25 
     26 LOCAL_SRC_FILES := \
     27     src/mm_jpeg_queue.c \
     28     src/mm_jpeg.c \
     29     src/mm_jpeg_interface.c
     30 
     31 LOCAL_MODULE           := libmmjpeg_interface
     32 LOCAL_SHARED_LIBRARIES := libdl libcutils liblog libmmstillomx libimage-jpeg-enc-omx-comp
     33 LOCAL_MODULE_TAGS := optional
     34 
     35 include $(BUILD_SHARED_LIBRARY)
     36 
     37 LOCAL_PATH := $(OLD_LOCAL_PATH)
     38