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