Adds HAL metrics support for Media Drm
Adds support to fetch metrics from vendor and convert them to a proto
bundle returned from a call to getMetrics.
Bug: 64001676
Test: CTS test for metrics and GPlay test
Change-Id: I05634dd1bf092e64e2d0e77c4c0e243340af48e3
diff --git a/drm/libmediadrm/Android.bp b/drm/libmediadrm/Android.bp
index 5ea4614..66e4400 100644
--- a/drm/libmediadrm/Android.bp
+++ b/drm/libmediadrm/Android.bp
@@ -7,7 +7,6 @@
cc_library {
name: "libmediadrm",
-
srcs: [
"DrmPluginPath.cpp",
"DrmSessionManager.cpp",
@@ -62,6 +61,7 @@
"android.hardware.drm@1.1",
"libbase",
"libbinder",
+ "libhidlbase",
"liblog",
"libmediametrics",
"libprotobuf-cpp-lite",
@@ -93,6 +93,7 @@
"android.hardware.drm@1.1",
"libbase",
"libbinder",
+ "libhidlbase",
"liblog",
"libmediametrics",
"libprotobuf-cpp-full",