blob: c4a9550d9d5846f31dbb3ca7bd7a99fd13c9f1ea [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
Mark Salyzyn3ef730c2015-06-02 07:57:16 -07008LOCAL_SHARED_LIBRARIES := liblog libbase libcutils
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
Tom Cherry20391b12015-08-14 13:02:51 -070014LOCAL_INIT_RC := logcatd.rc
15
The Android Open Source Projectdd7bc332009-03-03 19:32:55 -080016include $(BUILD_EXECUTABLE)
Mark Salyzyn65772ca2013-12-13 11:10:11 -080017
Mark Salyzyn8c943b62015-09-21 10:51:15 -070018include $(CLEAR_VARS)
19
20LOCAL_MODULE := logpersist.start
21LOCAL_MODULE_TAGS := debug
22LOCAL_MODULE_CLASS := EXECUTABLES
23LOCAL_MODULE_PATH := $(bin_dir)
24LOCAL_SRC_FILES := logpersist
25ALL_TOOLS := logpersist.start logpersist.stop logpersist.cat
26LOCAL_POST_INSTALL_CMD := $(hide) $(foreach t,$(filter-out $(LOCAL_MODULE),$(ALL_TOOLS)),ln -sf $(LOCAL_MODULE) $(TARGET_OUT)/bin/$(t);)
27include $(BUILD_PREBUILT)
28
Mark Salyzyn65772ca2013-12-13 11:10:11 -080029include $(call first-makefiles-under,$(LOCAL_PATH))