Expose timestats device library
This is needed to be cherry-picked into rvc-tv-dev
for device-side parsing of timestats in TVTS.
Bug: 175727771
Change-Id: I742476772c45c7602ba5b330d0874da7353500f4
Test: Add timestats-proto to an Android.mk file
Test: which is used to build the java file referencing
Test: the timestats.proto
Test: Used in whole PoC ag/13148066
Test: Confirm the parsing works.
diff --git a/services/surfaceflinger/TimeStats/timestatsproto/Android.bp b/services/surfaceflinger/TimeStats/timestatsproto/Android.bp
index fae4e94..9481cac 100644
--- a/services/surfaceflinger/TimeStats/timestatsproto/Android.bp
+++ b/services/surfaceflinger/TimeStats/timestatsproto/Android.bp
@@ -42,3 +42,16 @@
type: "full",
},
}
+
+// ==== java device library for timestats proto ===========================
+// Note timestats is deprecated and is only used for legacy tests
+java_library {
+ name: "timestats-proto",
+ srcs: [
+ "timestats.proto",
+ ],
+ proto: {
+ type: "lite",
+ },
+ sdk_version: "current",
+}