Specify widevine/media_cas_packager_sdk/presubmit in media_cas_packager_sdk METADATA file.
------------- Moves ecm_generator to media_cas_packager_sdk/internal. ------------- Add a simple TCP server listening on a port. My intention is to use this server to support the Simulcrypt APIs (TODO). Also add a simple TCP client binary for testing the server and also demo how to call the Simulcrypt APIs (TODO). ------------- If only a single key is in the ECM, it is the EVEN key. To make the code matches this understanding, change a parameter from 'false' to 'true'. But this change has NO impact on the produced ECM, regardless this parameter is 'false' or 'true' (i.e., whether using push_front or push_back), only a single key is in the ECM. ------------- Add classes that process Simulcrypt ECMG messages 1) Stream_set-up 2) CW_provision ------------- Renames server and client binaries. ------------- Make ecmg call ecm_generator to generate ecm. The return of the ecm to Simulcrypt caller will be implemented in the next CL. For now, using the 'key' (control word) in CW_provision message also as the 'key_id'. ------------- Move common folder ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=217358698
This commit is contained in:
31
common/BUILD
31
common/BUILD
@@ -1,16 +1,16 @@
|
||||
################################################################################
|
||||
# Copyright 2016 Google LLC.
|
||||
# Copyright 2017 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 code common to multiple Widevine services.
|
||||
# Constants, data structures, util classes for Widevine libraries.
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
package(
|
||||
default_visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
filegroup(
|
||||
name = "binary_release_files",
|
||||
@@ -19,6 +19,13 @@ filegroup(
|
||||
],
|
||||
)
|
||||
|
||||
cc_library(
|
||||
name = "widevine_system_id",
|
||||
srcs = ["widevine_system_id.cc"],
|
||||
hdrs = ["widevine_system_id.h"],
|
||||
deps = ["//base"],
|
||||
)
|
||||
|
||||
cc_library(
|
||||
name = "certificate_type",
|
||||
hdrs = ["certificate_type.h"],
|
||||
@@ -48,10 +55,10 @@ cc_test(
|
||||
srcs = ["drm_root_certificate_test.cc"],
|
||||
deps = [
|
||||
":drm_root_certificate",
|
||||
":rsa_key",
|
||||
":rsa_test_keys",
|
||||
"//base",
|
||||
"//testing:gunit_main",
|
||||
"//common:rsa_key",
|
||||
"//common:rsa_test_keys",
|
||||
"//protos/public:drm_certificate_proto",
|
||||
"//protos/public:errors_proto",
|
||||
"//protos/public:signed_drm_certificate_proto",
|
||||
@@ -64,9 +71,12 @@ cc_library(
|
||||
hdrs = ["certificate_util.h"],
|
||||
deps = [
|
||||
":certificate_type",
|
||||
":drm_root_certificate",
|
||||
":drm_service_certificate",
|
||||
":verified_media_pipeline",
|
||||
":vmp_checker",
|
||||
"//base",
|
||||
"//util:status",
|
||||
"//license_server_sdk/internal:sdk",
|
||||
],
|
||||
)
|
||||
@@ -105,6 +115,7 @@ cc_test(
|
||||
deps = [
|
||||
":rsa_test_keys",
|
||||
":rsa_util",
|
||||
"//base",
|
||||
"//testing:gunit",
|
||||
"//testing:gunit_main",
|
||||
"//external:openssl",
|
||||
@@ -139,6 +150,7 @@ cc_test(
|
||||
deps = [
|
||||
":rsa_key",
|
||||
":rsa_test_keys",
|
||||
":rsa_util",
|
||||
"//testing:gunit",
|
||||
"//testing:gunit_main",
|
||||
],
|
||||
@@ -320,6 +332,7 @@ cc_test(
|
||||
size = "small",
|
||||
srcs = ["signing_key_util_test.cc"],
|
||||
deps = [
|
||||
":crypto_util",
|
||||
":signing_key_util",
|
||||
"//testing:gunit",
|
||||
"//testing:gunit_main",
|
||||
@@ -519,9 +532,10 @@ cc_library(
|
||||
deps = [
|
||||
":certificate_type",
|
||||
":error_space",
|
||||
":rsa_key",
|
||||
":x509_cert",
|
||||
"//base",
|
||||
"@abseil_repo//absl/strings",
|
||||
"//util:status",
|
||||
"//protos/public:errors_proto",
|
||||
"//protos/public:verified_media_pipeline_proto",
|
||||
],
|
||||
@@ -561,4 +575,3 @@ cc_test(
|
||||
"//testing:gunit_main",
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user