1# Copyright 2006-2014 The Android Open Source Project 2 3LOCAL_PATH:= $(call my-dir) 4include $(CLEAR_VARS) 5 6LOCAL_SRC_FILES:= logcat.cpp event.logtags 7 8LOCAL_SHARED_LIBRARIES := liblog libbase libcutils libpcrecpp 9 10LOCAL_MODULE := logcat 11 12LOCAL_CFLAGS := -Werror 13 14include $(BUILD_EXECUTABLE) 15 16include $(CLEAR_VARS) 17 18LOCAL_MODULE := logpersist.start 19LOCAL_MODULE_TAGS := debug 20LOCAL_MODULE_CLASS := EXECUTABLES 21LOCAL_INIT_RC := logcatd.rc 22LOCAL_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 28include $(call first-makefiles-under,$(LOCAL_PATH)) 29