Adding ApexInfo utility

This is to get name/version when the HAL is started from an APEX. This
is the initial work and just prints name/version on startup.

Bug: 268439003
Test: adb logcat | grep com.google.android.widevine
Change-Id: I756c042d544f973999738f7d17022d916b9712cd
This commit is contained in:
Jooyung Han
2023-02-28 15:41:12 +09:00
parent e8add8eed8
commit f63f6011fa
8 changed files with 209 additions and 2 deletions

View File

@@ -129,7 +129,13 @@ cc_binary {
"frameworks/native/libs/binder/include",
],
shared_libs: ["libbinder_ndk"],
shared_libs: [
"libbinder_ndk",
"libprotobuf-cpp-lite",
],
static_libs: [
"lib_apex_manifest_minimal_proto_lite",
],
init_rc: ["src/android.hardware.drm-service.widevine.rc"],
vintf_fragments: ["manifest_android.hardware.drm-service.widevine.xml"],