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