Add watchdog library
- Car watchdog daemon is accessed from multiple classes.
- To facilitate the implementation, a helper class is introduced.
- The helper class will be used by CarServiceHelperService to dump and
kill processes which are not responding.
Bug: 148892423
Test: atest CarWatchdogDaemonHelperTest
Change-Id: I9fa5a8695941533e0c55c6142880ddb74ee87c9d
diff --git a/service/Android.bp b/service/Android.bp
index 06d120b..ab6e4ce 100644
--- a/service/Android.bp
+++ b/service/Android.bp
@@ -31,6 +31,7 @@
common_lib_deps = [
"android.car.userlib",
+ "android.car.watchdoglib",
"android.hidl.base-V1.0-java",
"android.hardware.automotive.audiocontrol-V1.0-java",
"android.hardware.automotive.vehicle-V2.0-java",