Home | History | Annotate | Download | only in perf
      1 ifeq ($(PERF_INSTRUMENTATION),1)
      2 LOCAL_PATH:= $(call my-dir)
      3 
      4 include $(CLEAR_VARS)
      5 
      6 
      7 
      8 LOCAL_SRC_FILES:= \
      9 	src/perf.c \
     10 	src/perf_config.c \
     11 	src/perf_log.c 
     12 
     13 TI_OMX_CFLAGS += -D__PERF_INSTRUMENTATION__ 
     14 
     15 ifdef PERF_CUSTOMIZABLE
     16 LOCAL_SRC_FILES+= \
     17 	src/perf_print.c \
     18 	src/perf_rt.c 
     19 
     20 TI_OMX_CFLAGS += -D__PERF_CUSTOMIZABLE__
     21 endif
     22 
     23 ifdef PERF_READER
     24 TI_OMX_CFLAGS += -D__PERF_LOG_LOCATION__
     25 endif
     26 
     27 LOCAL_C_INCLUDES := \
     28 	$(TI_OMX_SYSTEM)/perf/inc \
     29 	$(TI_OMX_INCLUDES) \
     30 	$(PV_INCLUDES) \
     31 	bionic/libc/include \
     32 
     33 LOCAL_SHARED_LIBRARIES := \
     34 	libdl \
     35 	liblog
     36 	
     37 LOCAL_CFLAGS := $(TI_OMX_CFLAGS)
     38 
     39 LOCAL_MODULE:= libPERF
     40 
     41 include $(BUILD_SHARED_LIBRARY)
     42 endif
     43