2013-12-13 19:10:11 +00:00
|
|
|
# Copyright 2006-2014 The Android Open Source Project
|
2009-03-04 03:32:55 +00:00
|
|
|
|
2017-02-10 21:09:07 +00:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
2009-03-04 03:32:55 +00:00
|
|
|
|
2017-02-10 21:09:07 +00:00
|
|
|
logcatLibs := liblog libbase libcutils libpcrecpp
|
2009-03-04 03:32:55 +00:00
|
|
|
|
2017-02-10 21:09:07 +00:00
|
|
|
include $(CLEAR_VARS)
|
2009-03-04 03:32:55 +00:00
|
|
|
|
2014-04-30 16:39:09 +00:00
|
|
|
LOCAL_MODULE := logcat
|
2017-02-10 21:09:07 +00:00
|
|
|
LOCAL_SRC_FILES := logcat_main.cpp event.logtags
|
|
|
|
LOCAL_SHARED_LIBRARIES := liblogcat $(logcatLibs)
|
2014-04-30 16:39:09 +00:00
|
|
|
LOCAL_CFLAGS := -Werror
|
2009-03-04 03:32:55 +00:00
|
|
|
|
|
|
|
include $(BUILD_EXECUTABLE)
|
2013-12-13 19:10:11 +00:00
|
|
|
|
2015-09-21 17:51:15 +00:00
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
2017-02-10 21:09:07 +00:00
|
|
|
LOCAL_MODULE := liblogcat
|
2017-02-10 21:09:07 +00:00
|
|
|
LOCAL_SRC_FILES := logcat.cpp logcat_system.cpp
|
2017-02-10 21:09:07 +00:00
|
|
|
LOCAL_SHARED_LIBRARIES := $(logcatLibs)
|
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
|
2017-02-21 16:45:21 +00:00
|
|
|
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
|
2017-02-10 21:09:07 +00:00
|
|
|
LOCAL_CFLAGS := -Werror
|
|
|
|
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
2015-09-21 17:51:15 +00:00
|
|
|
LOCAL_MODULE := logpersist.start
|
2016-02-04 21:08:36 +00:00
|
|
|
LOCAL_MODULE_TAGS := debug
|
2015-09-21 17:51:15 +00:00
|
|
|
LOCAL_MODULE_CLASS := EXECUTABLES
|
2016-02-04 18:48:10 +00:00
|
|
|
LOCAL_INIT_RC := logcatd.rc
|
2015-09-21 17:51:15 +00:00
|
|
|
LOCAL_MODULE_PATH := $(bin_dir)
|
|
|
|
LOCAL_SRC_FILES := logpersist
|
|
|
|
ALL_TOOLS := logpersist.start logpersist.stop logpersist.cat
|
|
|
|
LOCAL_POST_INSTALL_CMD := $(hide) $(foreach t,$(filter-out $(LOCAL_MODULE),$(ALL_TOOLS)),ln -sf $(LOCAL_MODULE) $(TARGET_OUT)/bin/$(t);)
|
|
|
|
include $(BUILD_PREBUILT)
|
|
|
|
|
2013-12-13 19:10:11 +00:00
|
|
|
include $(call first-makefiles-under,$(LOCAL_PATH))
|