blob: dc6a0ddfaf698aa97bdc814b29b99bcdc0529e1a (
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
################################################
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_PRELINK_MODULE := false
LOCAL_SRC_FILES:= \
DebugUtils.cpp \
MessageQueue.cpp \
Semaphore.cpp \
ErrorUtils.cpp
LOCAL_SHARED_LIBRARIES:= \
libdl \
libui \
libbinder \
libutils \
libcutils
ifdef ANDROID_API_JB_OR_LATER
LOCAL_C_INCLUDES += \
frameworks/native/include
else
LOCAL_C_INCLUDES += \
frameworks/base/include
endif
LOCAL_C_INCLUDES += \
bionic/libc/include
ifdef ENHANCED_DOMX
LOCAL_C_INCLUDES += \
$(DOMX_PATH)/omx_core/inc \
$(DOMX_PATH)/mm_osal/inc
else
LOCAL_C_INCLUDES += \
hardware/ti/omap4xxx/domx/omx_core/inc \
hardware/ti/omap4xxx/domx/mm_osal/inc
endif
LOCAL_CFLAGS += -fno-short-enums $(ANDROID_API_CFLAGS)
ifdef TI_UTILS_MESSAGE_QUEUE_DEBUG_ENABLED
# Enable debug logs
LOCAL_CFLAGS += -DMSGQ_DEBUG
endif
ifdef TI_UTILS_MESSAGE_QUEUE_DEBUG_FUNCTION_NAMES
# Enable function enter/exit logging
LOCAL_CFLAGS += -DTI_UTILS_FUNCTION_LOGGER_ENABLE
endif
LOCAL_MODULE:= libtiutils
LOCAL_MODULE_TAGS:= optional
include $(BUILD_HEAPTRACKED_SHARED_LIBRARY)
|