Mark Salyzyn | 65772ca | 2013-12-13 11:10:11 -0800 | [diff] [blame] | 1 | # Copyright 2006-2014 The Android Open Source Project |
The Android Open Source Project | dd7bc33 | 2009-03-03 19:32:55 -0800 | [diff] [blame] | 2 | |
| 3 | LOCAL_PATH:= $(call my-dir) |
| 4 | include $(CLEAR_VARS) |
| 5 | |
Doug Zongker | da077ee | 2009-11-25 13:03:06 -0800 | [diff] [blame] | 6 | LOCAL_SRC_FILES:= logcat.cpp event.logtags |
The Android Open Source Project | dd7bc33 | 2009-03-03 19:32:55 -0800 | [diff] [blame] | 7 | |
Mark Salyzyn | 3ef730c | 2015-06-02 07:57:16 -0700 | [diff] [blame] | 8 | LOCAL_SHARED_LIBRARIES := liblog libbase libcutils |
The Android Open Source Project | dd7bc33 | 2009-03-03 19:32:55 -0800 | [diff] [blame] | 9 | |
Mark Salyzyn | b149e24 | 2014-04-30 09:39:09 -0700 | [diff] [blame] | 10 | LOCAL_MODULE := logcat |
| 11 | |
| 12 | LOCAL_CFLAGS := -Werror |
The Android Open Source Project | dd7bc33 | 2009-03-03 19:32:55 -0800 | [diff] [blame] | 13 | |
Tom Cherry | 20391b1 | 2015-08-14 13:02:51 -0700 | [diff] [blame] | 14 | LOCAL_INIT_RC := logcatd.rc |
| 15 | |
The Android Open Source Project | dd7bc33 | 2009-03-03 19:32:55 -0800 | [diff] [blame] | 16 | include $(BUILD_EXECUTABLE) |
Mark Salyzyn | 65772ca | 2013-12-13 11:10:11 -0800 | [diff] [blame] | 17 | |
Mark Salyzyn | 8c943b6 | 2015-09-21 10:51:15 -0700 | [diff] [blame] | 18 | include $(CLEAR_VARS) |
| 19 | |
| 20 | LOCAL_MODULE := logpersist.start |
| 21 | LOCAL_MODULE_TAGS := debug |
| 22 | LOCAL_MODULE_CLASS := EXECUTABLES |
| 23 | LOCAL_MODULE_PATH := $(bin_dir) |
| 24 | LOCAL_SRC_FILES := logpersist |
| 25 | ALL_TOOLS := logpersist.start logpersist.stop logpersist.cat |
| 26 | LOCAL_POST_INSTALL_CMD := $(hide) $(foreach t,$(filter-out $(LOCAL_MODULE),$(ALL_TOOLS)),ln -sf $(LOCAL_MODULE) $(TARGET_OUT)/bin/$(t);) |
| 27 | include $(BUILD_PREBUILT) |
| 28 | |
Mark Salyzyn | 65772ca | 2013-12-13 11:10:11 -0800 | [diff] [blame] | 29 | include $(call first-makefiles-under,$(LOCAL_PATH)) |