Widevine version genrules
Bug: 327241925 Test: dumpsys android.hardware.drm.IDrmFactory/widevine Change-Id: Ice412cd2739f0c8a95af488cf565a3abf484200a
This commit is contained in:
@@ -224,6 +224,10 @@ cc_library_static {
|
||||
"libutils_headers",
|
||||
],
|
||||
|
||||
generated_headers: [
|
||||
"wv_android_build_id",
|
||||
],
|
||||
|
||||
shared_libs: [
|
||||
"libbinder_ndk",
|
||||
"libcrypto",
|
||||
@@ -368,3 +372,36 @@ cc_fuzz {
|
||||
],
|
||||
},
|
||||
}
|
||||
|
||||
python_binary_host {
|
||||
name: "wv-android-genrule",
|
||||
srcs: [
|
||||
"wv-android-genrule.py",
|
||||
],
|
||||
version: {
|
||||
py3: {
|
||||
embedded_launcher: true,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
genrule {
|
||||
name: "wv_android_build_id",
|
||||
tools: ["wv-android-genrule"],
|
||||
cmd: "$(location wv-android-genrule) build_id_header > $(out)",
|
||||
out: ["wv_android_build_id.h"],
|
||||
}
|
||||
|
||||
genrule {
|
||||
name: "widevine_apex_manifest.json",
|
||||
tools: ["wv-android-genrule"],
|
||||
cmd: "$(location wv-android-genrule) apex_manifest > $(out)",
|
||||
out: ["gen_wv_apex_manifest.json"],
|
||||
}
|
||||
|
||||
genrule {
|
||||
name: "widevine_lazy_apex_manifest.json",
|
||||
tools: ["wv-android-genrule"],
|
||||
cmd: "$(location wv-android-genrule) apex_manifest --name com.google.android.widevine.lazy > $(out)",
|
||||
out: ["gen_wv_lazy_apex_manifest.json"],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user