- LOCAL_PATH:= $(call my-dir)
- include $(CLEAR_VARS)
+ ifneq (,$(filter userdebug eng,$(TARGET_BUILD_VARIANT)))
- LOCAL_SRC_FILES:= ANRdaemon.cpp
+ LOCAL_PATH:= $(call my-dir)
+ include $(CLEAR_VARS)
+ LOCAL_SRC_FILES := ANRdaemon.cpp
LOCAL_C_INCLUDES += external/zlib
-
- LOCAL_MODULE:= anrdaemon
-
- LOCAL_MODULE_TAGS:= optional
-
+ LOCAL_MODULE := anrd
+ LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
+ LOCAL_MODULE_TAGS := debug
LOCAL_SHARED_LIBRARIES := \
+ liblog \
libbinder \
libcutils \
libutils \