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 | |
Casey Dahlin | dc42a87 | 2016-03-17 16:18:55 -0700 | [diff] [blame] | 8 | LOCAL_SHARED_LIBRARIES := liblog libbase libcutils libpcrecpp |
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 | |
| 14 | include $(BUILD_EXECUTABLE) |
Mark Salyzyn | 65772ca | 2013-12-13 11:10:11 -0800 | [diff] [blame] | 15 | |
Mark Salyzyn | 8c943b6 | 2015-09-21 10:51:15 -0700 | [diff] [blame] | 16 | include $(CLEAR_VARS) |
| 17 | |
| 18 | LOCAL_MODULE := logpersist.start |
Mark Salyzyn | 5b89b49 | 2016-02-04 13:08:36 -0800 | [diff] [blame] | 19 | LOCAL_MODULE_TAGS := debug |
Mark Salyzyn | 8c943b6 | 2015-09-21 10:51:15 -0700 | [diff] [blame] | 20 | LOCAL_MODULE_CLASS := EXECUTABLES |
Mark Salyzyn | 6de62e5 | 2016-02-04 10:48:10 -0800 | [diff] [blame] | 21 | LOCAL_INIT_RC := logcatd.rc |
Mark Salyzyn | 8c943b6 | 2015-09-21 10:51:15 -0700 | [diff] [blame] | 22 | LOCAL_MODULE_PATH := $(bin_dir) |
| 23 | LOCAL_SRC_FILES := logpersist |
| 24 | ALL_TOOLS := logpersist.start logpersist.stop logpersist.cat |
| 25 | LOCAL_POST_INSTALL_CMD := $(hide) $(foreach t,$(filter-out $(LOCAL_MODULE),$(ALL_TOOLS)),ln -sf $(LOCAL_MODULE) $(TARGET_OUT)/bin/$(t);) |
| 26 | include $(BUILD_PREBUILT) |
| 27 | |
Mark Salyzyn | 65772ca | 2013-12-13 11:10:11 -0800 | [diff] [blame] | 28 | include $(call first-makefiles-under,$(LOCAL_PATH)) |