diff options
author | Tom Cherry <tomcherry@google.com> | 2018-08-01 13:41:12 -0700 |
---|---|---|
committer | Tom Cherry <tomcherry@google.com> | 2018-08-02 12:25:58 -0700 |
commit | 40acb379cdac2e71b888bfa22bdcb409aa2753b1 (patch) | |
tree | 6b13aec6b13ffb7ee635e94d5f4294233070a9d6 /watchdogd/Android.bp | |
parent | 081b710b2ee7f726f1bef282333c397006b6b37f (diff) | |
download | system_core-40acb379cdac2e71b888bfa22bdcb409aa2753b1.tar.gz system_core-40acb379cdac2e71b888bfa22bdcb409aa2753b1.tar.bz2 system_core-40acb379cdac2e71b888bfa22bdcb409aa2753b1.zip |
Move watchdogd out of init
We're moving past a world where static executables are needed,
including watchdogd, so treat this like any other executable and place
it in /system/bin.
Bug: 73660730
Test: watchdogd still runs
Change-Id: I1f7508fd55dce6e9ee72a6ab7a085011a76c0053
Diffstat (limited to 'watchdogd/Android.bp')
-rw-r--r-- | watchdogd/Android.bp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/watchdogd/Android.bp b/watchdogd/Android.bp new file mode 100644 index 000000000..0fbc33cd2 --- /dev/null +++ b/watchdogd/Android.bp @@ -0,0 +1,14 @@ +cc_binary { + name: "watchdogd", + recovery_available: true, + srcs: ["watchdogd.cpp"], + cflags: [ + "-Wall", + "-Wextra", + "-Werror", + ], + shared_libs: ["libbase"], + sanitize: { + misc_undefined: ["signed-integer-overflow"], + }, +} |