summaryrefslogtreecommitdiff
path: root/camera/mm-image-codec/qomx_core/Android.mk
blob: 02f3ff859111944c03dfb35990b4776e9abd2c7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
OMX_CORE_PATH := $(call my-dir)

# ------------------------------------------------------------------------------
#                Make the shared library (libqomx_core)
# ------------------------------------------------------------------------------

include $(CLEAR_VARS)
LOCAL_PATH := $(OMX_CORE_PATH)
LOCAL_MODULE_TAGS := optional

omx_core_defines:= -Werror \
                   -g -O0

LOCAL_CFLAGS := $(omx_core_defines)

OMX_HEADER_DIR := frameworks/native/include/media/openmax

LOCAL_C_INCLUDES := $(OMX_HEADER_DIR)
LOCAL_C_INCLUDES += $(LOCAL_PATH)/../qexif

LOCAL_SRC_FILES := qomx_core.c

LOCAL_MODULE           := libqomx_core
LOCAL_SHARED_LIBRARIES := libcutils libdl

LOCAL_32_BIT_ONLY := true
include $(BUILD_SHARED_LIBRARY)