blob: 4e11ca9095e3e51f16d7e1df18e8d7d35d778284 [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
Mark Salyzync0cf90d2017-02-10 13:09:07 -08003LOCAL_PATH := $(call my-dir)
4
5logcatLibs := liblog libbase libcutils libpcrecpp
6
The Android Open Source Projectdd7bc332009-03-03 19:32:55 -08007include $(CLEAR_VARS)
8
Mark Salyzynb149e242014-04-30 09:39:09 -07009LOCAL_MODULE := logcat
Mark Salyzync0cf90d2017-02-10 13:09:07 -080010LOCAL_SRC_FILES := logcat_main.cpp event.logtags
11LOCAL_SHARED_LIBRARIES := liblogcat $(logcatLibs)
Mark Salyzynb149e242014-04-30 09:39:09 -070012LOCAL_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
Mark Salyzyna073c392017-04-03 09:30:20 -070018LOCAL_MODULE := logcatd
19LOCAL_MODULE_TAGS := debug
20LOCAL_SRC_FILES := logcatd_main.cpp event.logtags
21LOCAL_SHARED_LIBRARIES := liblogcat $(logcatLibs)
22LOCAL_CFLAGS := -Werror
23
24include $(BUILD_EXECUTABLE)
25
26include $(CLEAR_VARS)
27
Mark Salyzync0cf90d2017-02-10 13:09:07 -080028LOCAL_MODULE := liblogcat
Mark Salyzyne9ade172017-03-02 15:09:41 -080029LOCAL_SRC_FILES := logcat.cpp getopt_long.cpp logcat_system.cpp
Mark Salyzync0cf90d2017-02-10 13:09:07 -080030LOCAL_SHARED_LIBRARIES := $(logcatLibs)
31LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
Mark Salyzyneb408162017-02-21 08:45:21 -080032LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
Mark Salyzync0cf90d2017-02-10 13:09:07 -080033LOCAL_CFLAGS := -Werror
34
35include $(BUILD_SHARED_LIBRARY)
36
37include $(CLEAR_VARS)
38
Mark Salyzyn8c943b62015-09-21 10:51:15 -070039LOCAL_MODULE := logpersist.start
Mark Salyzyn5b89b492016-02-04 13:08:36 -080040LOCAL_MODULE_TAGS := debug
Mark Salyzyn8c943b62015-09-21 10:51:15 -070041LOCAL_MODULE_CLASS := EXECUTABLES
Mark Salyzyn6de62e52016-02-04 10:48:10 -080042LOCAL_INIT_RC := logcatd.rc
Mark Salyzyn8c943b62015-09-21 10:51:15 -070043LOCAL_MODULE_PATH := $(bin_dir)
44LOCAL_SRC_FILES := logpersist
45ALL_TOOLS := logpersist.start logpersist.stop logpersist.cat
46LOCAL_POST_INSTALL_CMD := $(hide) $(foreach t,$(filter-out $(LOCAL_MODULE),$(ALL_TOOLS)),ln -sf $(LOCAL_MODULE) $(TARGET_OUT)/bin/$(t);)
47include $(BUILD_PREBUILT)
48
Mark Salyzyn65772ca2013-12-13 11:10:11 -080049include $(call first-makefiles-under,$(LOCAL_PATH))