106 lines
2.2 KiB
Python
106 lines
2.2 KiB
Python
################################################################################
|
|
# Copyright 2016 Google LLC.
|
|
#
|
|
# This software is licensed under the terms defined in the Widevine Master
|
|
# License Agreement. For a copy of this agreement, please contact
|
|
# widevine-licensing@google.com.
|
|
################################################################################
|
|
|
|
#
|
|
# Description:
|
|
# Build file for CLIF wrappers of Widevine common modules.
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
load("//devtools/clif/python:clif_build_rule.bzl", "py_clif_cc")
|
|
|
|
py_clif_cc(
|
|
name = "aes_cbc_util",
|
|
srcs = ["aes_cbc_util.clif"],
|
|
deps = [
|
|
"//common:aes_cbc_util",
|
|
],
|
|
)
|
|
|
|
py_clif_cc(
|
|
name = "certificate_type",
|
|
srcs = ["certificate_type.clif"],
|
|
deps = [
|
|
"//common:certificate_type",
|
|
],
|
|
)
|
|
|
|
py_clif_cc(
|
|
name = "crypto_util",
|
|
srcs = ["crypto_util.clif"],
|
|
deps = [
|
|
"//common:crypto_util",
|
|
],
|
|
)
|
|
|
|
py_clif_cc(
|
|
name = "drm_root_certificate",
|
|
srcs = ["drm_root_certificate.clif"],
|
|
clif_deps = [
|
|
":certificate_type",
|
|
],
|
|
pyclif_deps = [
|
|
"//protos/public:drm_certificate_pyclif",
|
|
"//protos/public:signed_drm_certificate_pyclif",
|
|
],
|
|
deps = [
|
|
"//util/task/python:status_clif",
|
|
"//common:drm_root_certificate",
|
|
],
|
|
)
|
|
|
|
py_clif_cc(
|
|
name = "rsa_test_keys",
|
|
testonly = 1,
|
|
srcs = ["rsa_test_keys.clif"],
|
|
deps = [
|
|
"//common:rsa_test_keys",
|
|
],
|
|
)
|
|
|
|
py_clif_cc(
|
|
name = "rsa_key",
|
|
srcs = ["rsa_key.clif"],
|
|
deps = [
|
|
"//common:rsa_key",
|
|
],
|
|
)
|
|
|
|
py_clif_cc(
|
|
name = "drm_service_certificate",
|
|
srcs = ["drm_service_certificate.clif"],
|
|
clif_deps = [
|
|
":certificate_type",
|
|
":drm_root_certificate",
|
|
],
|
|
deps = [
|
|
"//util/task/python:status_clif",
|
|
"//common:drm_service_certificate",
|
|
],
|
|
)
|
|
|
|
py_clif_cc(
|
|
name = "signing_key_util",
|
|
srcs = ["signing_key_util.clif"],
|
|
pyclif_deps = [
|
|
"//protos/public:license_protocol_pyclif",
|
|
],
|
|
deps = [
|
|
"//common:signing_key_util",
|
|
],
|
|
)
|
|
|
|
py_clif_cc(
|
|
name = "test_drm_certificates",
|
|
testonly = 1,
|
|
srcs = ["test_drm_certificates.clif"],
|
|
deps = [
|
|
"//common:test_drm_certificates",
|
|
],
|
|
)
|