Merge "Set min_sdk_version for the Widevine APEX"

This commit is contained in:
TreeHugger Robot
2023-03-24 01:57:57 +00:00
committed by Android (Google) Code Review
10 changed files with 14 additions and 3 deletions

View File

@@ -94,6 +94,7 @@ cc_defaults {
name: "common_widevine_service-multilib-defaults-aidl", name: "common_widevine_service-multilib-defaults-aidl",
owner: "widevine", owner: "widevine",
proprietary: true, proprietary: true,
min_sdk_version: "UpsideDownCake",
relative_install_path: "hw", relative_install_path: "hw",
include_dirs: [ include_dirs: [
"vendor/widevine/libwvdrmengine/cdm/core/include/", "vendor/widevine/libwvdrmengine/cdm/core/include/",
@@ -205,6 +206,7 @@ cc_library_static {
"libcrypto", "libcrypto",
"liblog", "liblog",
], ],
min_sdk_version: "UpsideDownCake",
} }
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
@@ -266,6 +268,7 @@ cc_library_shared {
owner: "widevine", owner: "widevine",
proprietary: true, proprietary: true,
min_sdk_version: "UpsideDownCake",
} }
phony { phony {

View File

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

View File

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

View File

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

View File

@@ -35,4 +35,5 @@ cc_library {
static_libs: ["libcdm_metrics_protos"], static_libs: ["libcdm_metrics_protos"],
whole_static_libs: ["libcdm_metrics_protos"], whole_static_libs: ["libcdm_metrics_protos"],
export_static_lib_headers: ["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, export_proto_headers: true,
type: "full", type: "full",
}, },
min_sdk_version: "UpsideDownCake",
} }

View File

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

View File

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

View File

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

View File

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