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