Fixes serialization of vendor metrics
Uses an updated proto model that's more efficient for serialization.
Test: Unit tests, google play and CTS tests.
Bug: 73724218
Change-Id: I936bc18216c0c67de580424b4c62344d94be6b38
diff --git a/drm/libmediadrm/Android.bp b/drm/libmediadrm/Android.bp
index 66e4400..4991e50 100644
--- a/drm/libmediadrm/Android.bp
+++ b/drm/libmediadrm/Android.bp
@@ -54,17 +54,18 @@
proto: {
export_proto_headers: true,
- type: "lite",
+ type: "lite",
},
shared_libs: [
"android.hardware.drm@1.0",
"android.hardware.drm@1.1",
"libbase",
"libbinder",
- "libhidlbase",
+ "libhidlbase",
"liblog",
"libmediametrics",
"libprotobuf-cpp-lite",
+ "libstagefright_foundation",
"libutils",
],
cflags: [
@@ -86,24 +87,25 @@
proto: {
export_proto_headers: true,
- type: "full",
+ type: "full",
},
shared_libs: [
"android.hardware.drm@1.0",
"android.hardware.drm@1.1",
"libbase",
"libbinder",
- "libhidlbase",
+ "libhidlbase",
"liblog",
"libmediametrics",
"libprotobuf-cpp-full",
+ "libstagefright_foundation",
"libutils",
],
cflags: [
// Suppress unused parameter and no error options. These cause problems
- // when using the map type in a proto definition.
- "-Wno-unused-parameter",
- "-Wno-error",
+ // when using the map type in a proto definition.
+ "-Wno-unused-parameter",
+ "-Wno-error",
],
}