blob: 1dacbe1ade4eeb8473ea88aa6ef487fc7ffeb38b [file] [log] [blame]
Mark Salyzyn65772ca2013-12-13 11:10:11 -08001# Copyright 2006-2014 The Android Open Source Project
The Android Open Source Projectdd7bc332009-03-03 19:32:55 -08002
3LOCAL_PATH:= $(call my-dir)
4include $(CLEAR_VARS)
5
Doug Zongkerda077ee2009-11-25 13:03:06 -08006LOCAL_SRC_FILES:= logcat.cpp event.logtags
The Android Open Source Projectdd7bc332009-03-03 19:32:55 -08007
Casey Dahlindc42a872016-03-17 16:18:55 -07008LOCAL_SHARED_LIBRARIES := liblog libbase libcutils libpcrecpp
The Android Open Source Projectdd7bc332009-03-03 19:32:55 -08009
Mark Salyzynb149e242014-04-30 09:39:09 -070010LOCAL_MODULE := logcat
11
12LOCAL_CFLAGS := -Werror
The Android Open Source Projectdd7bc332009-03-03 19:32:55 -080013
14include $(BUILD_EXECUTABLE)
Mark Salyzyn65772ca2013-12-13 11:10:11 -080015
Mark Salyzyn8c943b62015-09-21 10:51:15 -070016include $(CLEAR_VARS)
17
18LOCAL_MODULE := logpersist.start
Mark Salyzyn5b89b492016-02-04 13:08:36 -080019LOCAL_MODULE_TAGS := debug
Mark Salyzyn8c943b62015-09-21 10:51:15 -070020LOCAL_MODULE_CLASS := EXECUTABLES
Mark Salyzyn6de62e52016-02-04 10:48:10 -080021LOCAL_INIT_RC := logcatd.rc
Mark Salyzyn8c943b62015-09-21 10:51:15 -070022LOCAL_MODULE_PATH := $(bin_dir)
23LOCAL_SRC_FILES := logpersist
24ALL_TOOLS := logpersist.start logpersist.stop logpersist.cat
25LOCAL_POST_INSTALL_CMD := $(hide) $(foreach t,$(filter-out $(LOCAL_MODULE),$(ALL_TOOLS)),ln -sf $(LOCAL_MODULE) $(TARGET_OUT)/bin/$(t);)
26include $(BUILD_PREBUILT)
27
Mark Salyzyn65772ca2013-12-13 11:10:11 -080028include $(call first-makefiles-under,$(LOCAL_PATH))