1 OMX_CORE_PATH := $(call my-dir) 2 3 # ------------------------------------------------------------------------------ 4 # Make the shared library (libqomx_core) 5 # ------------------------------------------------------------------------------ 6 7 include $(CLEAR_VARS) 8 LOCAL_PATH := $(OMX_CORE_PATH) 9 LOCAL_MODULE_TAGS := optional 10 11 omx_core_defines:= -Werror \ 12 -g -O0 13 14 LOCAL_CFLAGS := $(omx_core_defines) 15 16 OMX_HEADER_DIR := frameworks/native/include/media/openmax 17 18 LOCAL_C_INCLUDES := $(OMX_HEADER_DIR) 19 LOCAL_C_INCLUDES += $(LOCAL_PATH)/../qexif 20 21 LOCAL_SRC_FILES := qomx_core.c 22 23 LOCAL_MODULE := libqomx_core 24 LOCAL_PRELINK_MODULE := false 25 LOCAL_SHARED_LIBRARIES := libcutils libdl 26 27 LOCAL_32_BIT_ONLY := true 28 include $(BUILD_SHARED_LIBRARY) 29