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