Report metrics to statsd from update engine

Call the proper logging functions after an update attempt or a
successful update. This is part of the effort for the new metrics
mechanism migration.

Bug: 137682371
Test: run statsd_testdrive and check events
Change-Id: I1174ff37d049172a8a6b14d47aa40c54f26be183
Merged-In: I1174ff37d049172a8a6b14d47aa40c54f26be183
(cherry picked from commit a215b59432218842c99b244107b15d4894944577)
diff --git a/Android.bp b/Android.bp
index e457cd1..693abf8 100644
--- a/Android.bp
+++ b/Android.bp
@@ -266,6 +266,7 @@
         "liblog",
         "libmetricslogger",
         "libssl",
+        "libstatslog",
         "libutils",
     ],
 }