Home | History | Annotate | Download | only in mm-lib2d-interface
      1 OLD_LOCAL_PATH := $(LOCAL_PATH)
      2 LOCAL_PATH := $(call my-dir)
      3 
      4 include $(LOCAL_PATH)/../../../common.mk
      5 include $(CLEAR_VARS)
      6 
      7 LOCAL_32_BIT_ONLY := $(BOARD_QTI_CAMERA_32BIT_ONLY)
      8 LOCAL_CFLAGS+= -D_ANDROID_ -DQCAMERA_REDEFINE_LOG
      9 
     10 LOCAL_CFLAGS += -Wall -Wextra -Werror -Wno-unused-parameter
     11 
     12 LOCAL_C_INCLUDES+= $(kernel_includes)
     13 LOCAL_ADDITIONAL_DEPENDENCIES := $(common_deps)
     14 
     15 IMGLIB_HEADER_PATH := $(TARGET_OUT_INTERMEDIATES)/include/mm-camera/imglib
     16 
     17 LOCAL_C_INCLUDES += \
     18     $(IMGLIB_HEADER_PATH) \
     19     $(LOCAL_PATH)/inc \
     20     $(LOCAL_PATH)/../common
     21     $(LOCAL_PATH)/../mm-camera-interface/inc \
     22 
     23 ifeq ($(strip $(TARGET_USES_ION)),true)
     24     LOCAL_CFLAGS += -DUSE_ION
     25 endif
     26 
     27 
     28 LOCAL_SRC_FILES := \
     29     src/mm_lib2d.c
     30 
     31 LOCAL_MODULE           := libmmlib2d_interface
     32 LOCAL_PRELINK_MODULE   := false
     33 LOCAL_SHARED_LIBRARIES := libdl libcutils liblog
     34 LOCAL_MODULE_TAGS := optional
     35 
     36 LOCAL_32_BIT_ONLY := $(BOARD_QTI_CAMERA_32BIT_ONLY)
     37 include $(BUILD_SHARED_LIBRARY)
     38 
     39 LOCAL_PATH := $(OLD_LOCAL_PATH)
     40