[REFACTOR] Split Android and CrOS logging.
Previously, they are all cramped in main.cc. Split them
into their respective files logging.cc, logging_android.cc
and provide a common header, logging.h, that main.cc can use.
Bug: 147696014
Bug: 148818798
Test: builds
Test: build logging.cc in Android
Change-Id: Iafdaee6be20e204f4faa1d1d8f81e43670f08d96
diff --git a/Android.bp b/Android.bp
index 527d246..b502632 100644
--- a/Android.bp
+++ b/Android.bp
@@ -303,6 +303,7 @@
"daemon_state_android.cc",
"hardware_android.cc",
"libcurl_http_fetcher.cc",
+ "logging_android.cc",
"metrics_reporter_android.cc",
"metrics_utils.cc",
"network_selector_android.cc",