Remove metric_report_android.cc from unittests

We don't need metric reporting for unittests. And the android reporter
often causes dynamic linking issues if the unittest is ran on a
different target(sargo vs aosp_sargo). This change should make it easier
to run atests.

Test: atest update_engine_unittests
Change-Id: I92367ff906472ea0513112da0d4e7cfd3bab2a84
diff --git a/Android.bp b/Android.bp
index 1076c52..b6ee476 100644
--- a/Android.bp
+++ b/Android.bp
@@ -306,7 +306,6 @@
         "hardware_android.cc",
         "libcurl_http_fetcher.cc",
         "logging_android.cc",
-        "metrics_reporter_android.cc",
         "metrics_utils.cc",
         "network_selector_android.cc",
         "update_attempter_android.cc",
@@ -331,7 +330,7 @@
         "otacerts",
     ],
 
-    srcs: ["main.cc"],
+    srcs: ["main.cc", "metrics_reporter_android.cc"],
     init_rc: ["update_engine.rc"],
 }
 
@@ -706,6 +705,7 @@
         "testrunner.cc",
         "update_attempter_android_unittest.cc",
         "update_status_utils_unittest.cc",
+        "metrics_reporter_stub.cc",
     ],
 }