Add feature flag to change the CDM version to 18.0.2

[ Merge of http://go/wvgerrit/191139 ]

Adding an initial flag that include identifiable differences when
the feature is enabled or disabled.

This is the same commit as ag/25837302. It was reverted due to
memory size issues. A follow on CL will address that issue to
ease review.

Bug: 311951236
Test: WVTS tests
Change-Id: I995fb8f4158b3529c2d19a2ee5fd8beec0019f7c
This commit is contained in:
Rahul Frias
2024-01-09 12:40:43 -08:00
parent d0f454d91c
commit 54162b07c5
10 changed files with 62 additions and 3 deletions

View File

@@ -154,6 +154,7 @@ cc_binary {
shared_libs: [
"libbinder_ndk",
"wv_media_drm_flags_c_lib",
],
init_rc: ["src/android.hardware.drm-service.widevine.rc"],
@@ -178,7 +179,10 @@ cc_binary {
"frameworks/native/libs/binder/include",
],
shared_libs: ["libbinder_ndk"],
shared_libs: [
"libbinder_ndk",
"wv_media_drm_flags_c_lib",
],
init_rc: ["src/android.hardware.drm-service-lazy.widevine.rc"],
vintf_fragments: ["manifest_android.hardware.drm-service-lazy.widevine.xml"],
@@ -224,6 +228,7 @@ cc_library_static {
"libbinder_ndk",
"libcrypto",
"liblog",
"wv_media_drm_flags_c_lib",
],
static_libs: [
@@ -297,6 +302,7 @@ cc_library {
"libcrypto",
"libdl",
"liblog",
"wv_media_drm_flags_c_lib",
],
header_libs: ["libstagefright_foundation_headers"],
@@ -329,6 +335,9 @@ cc_fuzz {
"service_fuzzer_defaults",
"fuzzer_disable_leaks",
],
shared_libs: [
"wv_media_drm_flags_c_lib",
],
static_libs: [
"libbase",
"libbinder_random_parcel",