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