Add clearcut metrics tool to log start event
- Import asuite_cc_client lib to log start and exit event.
- By default silence root logger's stream handler since 3p libs
(asuite_cc_client) may initial root logger no matter what level
we're using.
- Remove workaround for oauth2client unexpceted warning message.
Bug: 131658799
Bug: 112803893
Test: atest acloud_test --host &
m acloud & any acloud-dev commands & check the clearcut dashboard
Change-Id: I84ade2863d2f29b1122729f5109f665b6c4e4ac4
diff --git a/Android.bp b/Android.bp
index 65b7b79..ef42197 100644
--- a/Android.bp
+++ b/Android.bp
@@ -73,6 +73,7 @@
"public/*_test.py",
"public/actions/*_test.py",
"internal/lib/*_test.py",
+ "metrics/*.py",
],
libs: [
"acloud_create",
@@ -83,6 +84,7 @@
"acloud_proto",
"acloud_public",
"acloud_setup",
+ "asuite_cc_client",
"py-apitools",
"py-dateutil",
"py-google-api-python-client",
@@ -180,6 +182,7 @@
"metrics/*.py",
],
libs: [
+ "asuite_cc_client",
"asuite_metrics",
],
}