1################################################ 2 3LOCAL_PATH:= $(call my-dir) 4 5include $(CLEAR_VARS) 6 7LOCAL_PRELINK_MODULE := false 8 9LOCAL_SRC_FILES:= \ 10 DebugUtils.cpp \ 11 MessageQueue.cpp \ 12 Semaphore.cpp \ 13 ErrorUtils.cpp 14 15LOCAL_SHARED_LIBRARIES:= \ 16 libdl \ 17 libui \ 18 libbinder \ 19 libutils \ 20 libcutils \ 21 liblog 22 23LOCAL_C_INCLUDES += \ 24 frameworks/native/include 25 26LOCAL_C_INCLUDES += \ 27 bionic/libc/include 28 29LOCAL_C_INCLUDES += \ 30 $(HARDWARE_TI_OMAP4_BASE)/domx/omx_core/inc \ 31 $(HARDWARE_TI_OMAP4_BASE)/domx/mm_osal/inc 32 33LOCAL_CFLAGS += -fno-short-enums $(ANDROID_API_CFLAGS) 34 35ifdef TI_UTILS_MESSAGE_QUEUE_DEBUG_ENABLED 36 # Enable debug logs 37 LOCAL_CFLAGS += -DMSGQ_DEBUG 38endif 39 40ifdef TI_UTILS_MESSAGE_QUEUE_DEBUG_FUNCTION_NAMES 41 # Enable function enter/exit logging 42 LOCAL_CFLAGS += -DTI_UTILS_FUNCTION_LOGGER_ENABLE 43endif 44 45LOCAL_MODULE:= libtiutils 46LOCAL_MODULE_TAGS:= optional 47 48include $(BUILD_HEAPTRACKED_SHARED_LIBRARY) 49