adb: add a class to monitor for property changes.
Bug: http://b/171526334
Test: adbd_test
Change-Id: Ia32790cd73d1f4dd0c6a7c4dfbf17ec8c1373126
diff --git a/Android.bp b/Android.bp
index c74e931..686c06f 100644
--- a/Android.bp
+++ b/Android.bp
@@ -512,6 +512,7 @@
target: {
android: {
srcs: [
+ "daemon/property_monitor.cpp",
"daemon/usb.cpp",
"daemon/usb_ffs.cpp",
]
@@ -789,6 +790,14 @@
test_config: "adb_test.xml",
+ target: {
+ android: {
+ srcs: [
+ "daemon/property_monitor_test.cpp",
+ ],
+ },
+ },
+
shared_libs: [
"liblog",
],