blob: 188511f0525133cdbc05b91c78a0bd3c9927ff4b [file] [log] [blame]
Mark Salyzyn0175b072014-02-26 09:50:16 -08001LOCAL_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 \
Mark Salyzyn34facab2014-02-06 14:48:50 -080016 LogTimes.cpp \
Mark Salyzyndfa7a072014-02-11 12:29:31 -080017 LogStatistics.cpp \
William Roberts29d238d2013-02-08 09:45:26 +090018 LogWhiteBlackList.cpp \
19 libaudit.c \
Mark Salyzyn989980c2014-05-14 12:37:22 -070020 LogAudit.cpp \
21 event.logtags
Mark Salyzyn0175b072014-02-26 09:50:16 -080022
Mark Salyzyn0175b072014-02-26 09:50:16 -080023LOCAL_SHARED_LIBRARIES := \
24 libsysutils \
25 liblog \
Mark Salyzyn34facab2014-02-06 14:48:50 -080026 libcutils \
27 libutils
Mark Salyzyn0175b072014-02-26 09:50:16 -080028
Mark Salyzyn989980c2014-05-14 12:37:22 -070029LOCAL_CFLAGS := -Werror $(shell sed -n 's/^\([0-9]*\)[ \t]*auditd[ \t].*/-DAUDITD_LOG_TAG=\1/p' $(LOCAL_PATH)/event.logtags)
Mark Salyzyn0175b072014-02-26 09:50:16 -080030
31include $(BUILD_EXECUTABLE)
Mark Salyzynd3ba6652014-02-28 13:44:12 -080032
33include $(call first-makefiles-under,$(LOCAL_PATH))