Set min_sdk_version for the Widevine APEX

also remove `use_vndk_as_stable: true` to remove dependency to VNDK
libs.

Bug: 251299786
Test: build WV APEX with V and install it on U device
Change-Id: Ie7f7f9b699119478d4b33f95ab9e6ba7f459346c
This commit is contained in:
Jooyung Han
2023-03-20 13:49:25 +09:00
committed by Kyle Zhang
parent 81171a7e75
commit a4de7eb9b5
10 changed files with 14 additions and 3 deletions

View File

@@ -94,6 +94,7 @@ cc_defaults {
name: "common_widevine_service-multilib-defaults-aidl",
owner: "widevine",
proprietary: true,
min_sdk_version: "UpsideDownCake",
relative_install_path: "hw",
include_dirs: [
"vendor/widevine/libwvdrmengine/cdm/core/include/",
@@ -224,6 +225,7 @@ cc_library_static {
"libcrypto",
"liblog",
],
min_sdk_version: "UpsideDownCake",
}
// ----------------------------------------------------------------------------
@@ -285,6 +287,7 @@ cc_library {
owner: "widevine",
proprietary: true,
min_sdk_version: "UpsideDownCake",
}
phony {

View File

@@ -41,12 +41,13 @@ widevine_apex_defaults {
prebuilts: [
"com.google.android.widevine.xml", // etc/vintf
],
// TODO(b/274041915) remove updatable:false
updatable: false,
// TODO(b/268439003) We need an API to get apex version. Until then
// we'll read apex_manifest.pb to get the version. To label apex_manifest.pb
// as vendor_configs_file (which the apex can access), turn off force-label.
use_file_contexts_as_is: true,
use_vndk_as_stable: true,
min_sdk_version: "UpsideDownCake",
vendor: true,
}

View File

@@ -39,4 +39,5 @@ cc_library_static {
"libbase",
],
vendor: true,
min_sdk_version: "UpsideDownCake",
}

View File

@@ -80,5 +80,5 @@ cc_library_static {
],
proprietary: true,
min_sdk_version: "UpsideDownCake",
}

View File

@@ -35,4 +35,5 @@ cc_library {
static_libs: ["libcdm_metrics_protos"],
whole_static_libs: ["libcdm_metrics_protos"],
export_static_lib_headers: ["libcdm_metrics_protos"],
min_sdk_version: "UpsideDownCake",
}

View File

@@ -66,4 +66,6 @@ cc_library {
export_proto_headers: true,
type: "full",
},
min_sdk_version: "UpsideDownCake",
}

View File

@@ -75,5 +75,5 @@ cc_library_static {
proprietary: true,
owner: "widevine",
min_sdk_version: "UpsideDownCake",
}

View File

@@ -64,4 +64,5 @@ cc_library_static {
cflags: ["-Wthread-safety"],
proprietary: true,
min_sdk_version: "UpsideDownCake",
}

View File

@@ -63,4 +63,5 @@ cc_library_static {
],
proprietary: true,
min_sdk_version: "UpsideDownCake",
}

View File

@@ -38,6 +38,7 @@ cc_library_static {
proprietary: true,
owner: "widevine",
min_sdk_version: "UpsideDownCake",
}
// ----------------------------------------------------------------