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