1#encoder int test 2OLD_LOCAL_PATH := $(LOCAL_PATH) 3MM_JPEG_TEST_PATH := $(call my-dir) 4 5include $(LOCAL_PATH)/../../common.mk 6include $(CLEAR_VARS) 7LOCAL_PATH := $(MM_JPEG_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 18# System header file path prefix 19LOCAL_CFLAGS += -DSYSTEM_HEADER_PREFIX=sys 20 21OMX_HEADER_DIR := frameworks/native/include/media/openmax 22OMX_CORE_DIR := hardware/qcom/camera/mm-image-codec 23 24LOCAL_C_INCLUDES := $(MM_JPEG_TEST_PATH) 25LOCAL_C_INCLUDES += $(MM_JPEG_TEST_PATH)/../inc 26LOCAL_C_INCLUDES += $(MM_JPEG_TEST_PATH)/../../common 27LOCAL_C_INCLUDES += $(MM_JPEG_TEST_PATH)/../../mm-camera-interface/inc 28LOCAL_C_INCLUDES += $(OMX_HEADER_DIR) 29LOCAL_C_INCLUDES += $(OMX_CORE_DIR)/qexif 30LOCAL_C_INCLUDES += $(OMX_CORE_DIR)/qomx_core 31 32LOCAL_C_INCLUDES+= $(kernel_includes) 33LOCAL_ADDITIONAL_DEPENDENCIES := $(common_deps) 34 35LOCAL_SRC_FILES := mm_jpeg_test.c 36 37LOCAL_32_BIT_ONLY := $(BOARD_QTI_CAMERA_32BIT_ONLY) 38LOCAL_MODULE := mm-jpeg-interface-test 39LOCAL_PRELINK_MODULE := false 40LOCAL_SHARED_LIBRARIES := libcutils libdl libmmjpeg_interface 41 42include $(BUILD_EXECUTABLE) 43 44 45 46#decoder int test 47 48include $(CLEAR_VARS) 49LOCAL_PATH := $(MM_JPEG_TEST_PATH) 50LOCAL_MODULE_TAGS := optional 51 52LOCAL_CFLAGS := -DCAMERA_ION_HEAP_ID=ION_IOMMU_HEAP_ID 53LOCAL_CFLAGS += -Wall -Wextra -Werror -Wno-unused-parameter 54 55LOCAL_CFLAGS += -D_ANDROID_ 56 57ifeq ($(strip $(TARGET_USES_ION)),true) 58LOCAL_CFLAGS += -DUSE_ION 59endif 60 61# System header file path prefix 62LOCAL_CFLAGS += -DSYSTEM_HEADER_PREFIX=sys 63 64OMX_HEADER_DIR := frameworks/native/include/media/openmax 65OMX_CORE_DIR := hardware/qcom/camera/mm-image-codec 66 67LOCAL_C_INCLUDES := $(MM_JPEG_TEST_PATH) 68LOCAL_C_INCLUDES += $(MM_JPEG_TEST_PATH)/../inc 69LOCAL_C_INCLUDES += $(MM_JPEG_TEST_PATH)/../../common 70LOCAL_C_INCLUDES += $(MM_JPEG_TEST_PATH)/../../mm-camera-interface/inc 71LOCAL_C_INCLUDES += $(OMX_HEADER_DIR) 72LOCAL_C_INCLUDES += $(OMX_CORE_DIR)/qexif 73LOCAL_C_INCLUDES += $(OMX_CORE_DIR)/qomx_core 74 75LOCAL_C_INCLUDES+= $(kernel_includes) 76LOCAL_ADDITIONAL_DEPENDENCIES := $(common_deps) 77 78LOCAL_SRC_FILES := mm_jpegdec_test.c 79 80LOCAL_32_BIT_ONLY := $(BOARD_QTI_CAMERA_32BIT_ONLY) 81LOCAL_MODULE := mm-jpegdec-interface-test 82LOCAL_PRELINK_MODULE := false 83LOCAL_SHARED_LIBRARIES := libcutils libdl libmmjpeg_interface 84 85include $(BUILD_EXECUTABLE) 86 87LOCAL_PATH := $(OLD_LOCAL_PATH)