Mark Salyzyn | 0175b07 | 2014-02-26 09:50:16 -0800 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | |
| 3 | include $(CLEAR_VARS) |
| 4 | |
| 5 | LOCAL_MODULE:= logd |
| 6 | |
| 7 | LOCAL_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 Salyzyn | 34facab | 2014-02-06 14:48:50 -0800 | [diff] [blame] | 16 | LogTimes.cpp \ |
Mark Salyzyn | dfa7a07 | 2014-02-11 12:29:31 -0800 | [diff] [blame] | 17 | LogStatistics.cpp \ |
William Roberts | 29d238d | 2013-02-08 09:45:26 +0900 | [diff] [blame] | 18 | LogWhiteBlackList.cpp \ |
| 19 | libaudit.c \ |
Mark Salyzyn | 989980c | 2014-05-14 12:37:22 -0700 | [diff] [blame] | 20 | LogAudit.cpp \ |
| 21 | event.logtags |
Mark Salyzyn | 0175b07 | 2014-02-26 09:50:16 -0800 | [diff] [blame] | 22 | |
Mark Salyzyn | 0175b07 | 2014-02-26 09:50:16 -0800 | [diff] [blame] | 23 | LOCAL_SHARED_LIBRARIES := \ |
| 24 | libsysutils \ |
| 25 | liblog \ |
Mark Salyzyn | 34facab | 2014-02-06 14:48:50 -0800 | [diff] [blame] | 26 | libcutils \ |
| 27 | libutils |
Mark Salyzyn | 0175b07 | 2014-02-26 09:50:16 -0800 | [diff] [blame] | 28 | |
Mark Salyzyn | 989980c | 2014-05-14 12:37:22 -0700 | [diff] [blame] | 29 | LOCAL_CFLAGS := -Werror $(shell sed -n 's/^\([0-9]*\)[ \t]*auditd[ \t].*/-DAUDITD_LOG_TAG=\1/p' $(LOCAL_PATH)/event.logtags) |
Mark Salyzyn | 0175b07 | 2014-02-26 09:50:16 -0800 | [diff] [blame] | 30 | |
| 31 | include $(BUILD_EXECUTABLE) |
Mark Salyzyn | d3ba665 | 2014-02-28 13:44:12 -0800 | [diff] [blame] | 32 | |
| 33 | include $(call first-makefiles-under,$(LOCAL_PATH)) |