Initial commit of PowerStatsService

Bug: 164465661
Bug: 164466995
Bug: 167280723
Test: Verified PowerStatsService is functional on targets that
have ODPM data.

Change-Id: Ic555b380c566ea26bc2214374f142c5448ea2ee7
diff --git a/tools/powerstats/Android.bp b/tools/powerstats/Android.bp
new file mode 100644
index 0000000..af41144
--- /dev/null
+++ b/tools/powerstats/Android.bp
@@ -0,0 +1,10 @@
+java_binary_host {
+    name: "PowerStatsServiceProtoParser",
+    manifest: "PowerStatsServiceProtoParser_manifest.txt",
+    srcs: [
+        "*.java",
+    ],
+    static_libs: [
+        "platformprotos",
+    ],
+}