Widevine apex cleanup

1. Remove prerelease tag.
2. Add TARGET_BUILD_WIDEVINE_USE_PREBUILT to control building from source.
3. Unify config namespace to "widevine".

Bug: 251299786
Bug: 277764729
Change-Id: I2f19bcf8efd280a1a3aa86f595599d79e20b4ff4
This commit is contained in:
Kyle Zhang
2023-04-28 22:52:16 +00:00
parent 5409567ef9
commit dc9fbae1b4
2 changed files with 9 additions and 17 deletions

View File

@@ -30,13 +30,8 @@ apex_set {
owner: "google",
set: "com.google.android.widevine.nonupdatable.apks",
vendor: true,
// TODO(b/251299786): the prerelease field should be removed once
// new api version is released, e.g. U(34).
// This is a mitigation for apex extractor matching target sdk version
// with current prerelease version.
prerelease: true,
use_source_config_var: {
config_namespace: "widevine_module",
config_namespace: "widevine",
var_name: "source_build",
},
}
@@ -47,13 +42,8 @@ apex_set {
owner: "google",
set: "com.google.android.widevine.lazy.apks",
vendor: true,
// TODO(b/251299786): the prerelease field should be removed once
// new api version is released, e.g. U(34).
// This is a mitigation for apex extractor matching target sdk version
// with current prerelease version.
prerelease: true,
use_source_config_var: {
config_namespace: "widevine_module",
config_namespace: "widevine",
var_name: "source_build",
},
}