1 LOCAL_PATH := $(call my-dir) 2 3 OMX_NAME := exynos 4 5 include $(CLEAR_VARS) 6 7 LOCAL_SRC_FILES := \ 8 csc_helper.c 9 10 LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH) 11 12 LOCAL_C_INCLUDES := \ 13 system/core/include \ 14 $(LOCAL_PATH)/../exynos_omx/openmax/$(OMX_NAME)_omx/include/khronos \ 15 $(LOCAL_PATH)/../exynos_omx/openmax/$(OMX_NAME)_omx/include/$(OMX_NAME) \ 16 hardware/samsung_slsi/exynos5/include 17 18 LOCAL_CFLAGS := \ 19 -DUSE_SAMSUNG_COLORFORMAT \ 20 -DEXYNOS_OMX 21 22 LOCAL_MODULE := libcsc_helper 23 LOCAL_MODULE_TAGS := optional 24 LOCAL_STATIC_LIBRARIES := liblog 25 26 include $(BUILD_STATIC_LIBRARY) 27 28 include $(CLEAR_VARS) 29 30 LOCAL_MODULE_TAGS := optional 31 32 LOCAL_SRC_FILES := \ 33 csc.c 34 35 LOCAL_C_INCLUDES := \ 36 hardware/samsung_slsi/exynos5/include \ 37 $(LOCAL_PATH)/../exynos_omx/openmax/$(OMX_NAME)_omx/include/khronos \ 38 $(LOCAL_PATH)/../exynos_omx/openmax/$(OMX_NAME)_omx/include/$(OMX_NAME) \ 39 $(LOCAL_PATH)/../libexynosutils 40 41 LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH) 42 43 LOCAL_CFLAGS := 44 45 LOCAL_MODULE := libcsc 46 47 LOCAL_PRELINK_MODULE := false 48 49 LOCAL_ARM_MODE := arm 50 51 LOCAL_STATIC_LIBRARIES := libswconverter 52 LOCAL_WHOLE_STATIC_LIBRARIES := libcsc_helper 53 LOCAL_SHARED_LIBRARIES := liblog libexynosutils 54 55 LOCAL_CFLAGS += -DUSE_SAMSUNG_COLORFORMAT 56 57 LOCAL_C_INCLUDES += \ 58 $(LOCAL_PATH)/../include 59 LOCAL_CFLAGS += -DENABLE_GSCALER -DENABLE_G2D 60 LOCAL_SHARED_LIBRARIES += libexynosgscaler 61 62 LOCAL_CFLAGS += -DUSE_ION 63 LOCAL_SHARED_LIBRARIES += libion_exynos 64 65 LOCAL_CFLAGS += -DEXYNOS_OMX 66 67 include $(BUILD_SHARED_LIBRARY) 68