diff options
author | Dan Willemsen <dwillemsen@google.com> | 2018-05-04 18:35:50 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@google.com> | 2018-05-04 20:25:22 -0700 |
commit | 2a904afcb32568d3c33d56971c7b1783e265c8d5 (patch) | |
tree | 2ac40ff8a86c94ba1278ec98a7c59e19e579aafd /ANRdaemon | |
parent | a1b34a8173609094df0e124ecca19b619fc19a41 (diff) | |
download | extras-2a904afcb32568d3c33d56971c7b1783e265c8d5.tar.gz |
Convert to Soong
See build/soong/README.md for more information.
This effectively moves some of these targets from /system/xbin to
/system/bin, as Soong is not supporting xbin. I've attempted to fix and
find any external dependencies to these paths.
Test: m anrd app-launcher bootctrl.default bootctl cpustats crypto iotop
Change-Id: I3eb58d8a260884652b5ee827ac88ece429d76448
Diffstat (limited to 'ANRdaemon')
-rw-r--r-- | ANRdaemon/Android.bp | 16 | ||||
-rw-r--r-- | ANRdaemon/Android.mk | 20 |
2 files changed, 16 insertions, 20 deletions
diff --git a/ANRdaemon/Android.bp b/ANRdaemon/Android.bp new file mode 100644 index 00000000..9bb9b71e --- /dev/null +++ b/ANRdaemon/Android.bp @@ -0,0 +1,16 @@ +cc_binary { + name: "anrd", + srcs: ["ANRdaemon.cpp"], + cflags: [ + "-Wall", + "-Werror", + ], + + shared_libs: [ + "liblog", + "libbinder", + "libcutils", + "libutils", + "libz", + ], +} diff --git a/ANRdaemon/Android.mk b/ANRdaemon/Android.mk deleted file mode 100644 index de5accec..00000000 --- a/ANRdaemon/Android.mk +++ /dev/null @@ -1,20 +0,0 @@ -ifneq (,$(filter userdebug eng,$(TARGET_BUILD_VARIANT))) - -LOCAL_PATH:= $(call my-dir) - -include $(CLEAR_VARS) -LOCAL_SRC_FILES := ANRdaemon.cpp -LOCAL_C_INCLUDES += external/zlib -LOCAL_MODULE := anrd -LOCAL_CFLAGS := -Wall -Werror -LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES) -LOCAL_MODULE_TAGS := debug -LOCAL_SHARED_LIBRARIES := \ - liblog \ - libbinder \ - libcutils \ - libutils \ - libz -include $(BUILD_EXECUTABLE) - -endif |