WVCdm version stamping
First, version.txt will be stamped by Android CI with a release candidate name like "ZV1A.240307.001". Next, a genrule will read version.txt and embed the release candidate name inside the Widevine CDM binary. See also: - go/wv-trunk "Versioning" - cl/616721723 Bug: 327241925 Test: Coastguard Change-Id: I892ee957c058ac5f624912a38a048781af5f3487
This commit is contained in:
@@ -387,21 +387,24 @@ python_binary_host {
|
||||
|
||||
genrule {
|
||||
name: "wv_android_build_id",
|
||||
srcs: ["version.txt"],
|
||||
tools: ["wv-android-genrule"],
|
||||
cmd: "$(location wv-android-genrule) build_id_header > $(out)",
|
||||
cmd: "$(location wv-android-genrule) build_id_header $(in) > $(out)",
|
||||
out: ["wv_android_build_id.h"],
|
||||
}
|
||||
|
||||
genrule {
|
||||
name: "widevine_apex_manifest.json",
|
||||
srcs: ["version.txt"],
|
||||
tools: ["wv-android-genrule"],
|
||||
cmd: "$(location wv-android-genrule) apex_manifest > $(out)",
|
||||
cmd: "$(location wv-android-genrule) apex_manifest $(in) > $(out)",
|
||||
out: ["gen_wv_apex_manifest.json"],
|
||||
}
|
||||
|
||||
genrule {
|
||||
name: "widevine_lazy_apex_manifest.json",
|
||||
srcs: ["version.txt"],
|
||||
tools: ["wv-android-genrule"],
|
||||
cmd: "$(location wv-android-genrule) apex_manifest --name com.google.android.widevine.lazy > $(out)",
|
||||
cmd: "$(location wv-android-genrule) apex_manifest --name com.google.android.widevine.lazy $(in) > $(out)",
|
||||
out: ["gen_wv_lazy_apex_manifest.json"],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user