1LOCAL_PATH:= $(call my-dir) 2 3include $(CLEAR_VARS) 4 5LOCAL_MODULE:= logd 6 7LOCAL_SRC_FILES := \ 8 main.cpp \ 9 LogCommand.cpp \ 10 CommandListener.cpp \ 11 LogListener.cpp \ 12 LogReader.cpp \ 13 FlushCommand.cpp \ 14 LogBuffer.cpp \ 15 LogBufferElement.cpp \ 16 LogTimes.cpp \ 17 LogStatistics.cpp \ 18 LogWhiteBlackList.cpp \ 19 libaudit.c \ 20 LogAudit.cpp \ 21 event.logtags 22 23LOCAL_SHARED_LIBRARIES := \ 24 libsysutils \ 25 liblog \ 26 libcutils \ 27 libutils 28 29LOCAL_CFLAGS := -Werror $(shell sed -n 's/^\([0-9]*\)[ \t]*auditd[ \t].*/-DAUDITD_LOG_TAG=\1/p' $(LOCAL_PATH)/event.logtags) 30 31include $(BUILD_EXECUTABLE) 32 33include $(call first-makefiles-under,$(LOCAL_PATH)) 34