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 
     22 ifeq ($(strip $(TARGET_USES_ION)),true)
     23     LOCAL_CFLAGS += -DUSE_ION
     24 endif
     25 
     26 
     27 LOCAL_SRC_FILES := \
     28     src/mm_lib2d.c
     29 
     30 LOCAL_MODULE           := libmmlib2d_interface
     31 LOCAL_PRELINK_MODULE   := false
     32 LOCAL_SHARED_LIBRARIES := libdl libcutils liblog
     33 LOCAL_MODULE_TAGS := optional
     34 
     35 LOCAL_32_BIT_ONLY := $(BOARD_QTI_CAMERA_32BIT_ONLY)
     36 include $(BUILD_SHARED_LIBRARY)
     37 
     38 LOCAL_PATH := $(OLD_LOCAL_PATH)
     39