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