################################################################################ # 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. ################################################################################ # The public interface of Widevine Proxy SDK for content providers. package( default_visibility = ["//visibility:public"], ) filegroup( name = "binary_release_files", srcs = glob(["*.h"]), ) cc_library( name = "wvpl_types", hdrs = [ "wvpl_types.h", ], deps = [ "//util:status", ], ) cc_library( name = "wvpl_sdk_session", srcs = [ "wvpl_sdk_session.cc", ], hdrs = [ "wvpl_sdk_environment.h", "wvpl_sdk_session.h", ], deps = [ # TODO(user): Refactor these deps as classes that derive from WvPLSDKSession may not rely on license SDK(s). "//base", "//util:status", ":wvpl_types", "//common:certificate_type", "//common:drm_service_certificate", "//common:error_space", "//common:remote_attestation_verifier", "//common:verified_media_pipeline", "//license_server_sdk/internal:sdk", "//protos/public:client_identification_proto", "//protos/public:device_certificate_status_proto", "//protos/public:errors_proto", "//protos/public:license_protocol_proto", "//protos/public:license_server_sdk_proto", "//protos/public:provisioned_device_info_proto", ], ) cc_library( name = "wvpl_sdk_environment", srcs = [ "wvpl_sdk_environment.cc", ], hdrs = [ "wvpl_sdk_environment.h", ], deps = [ # TODO(user): Refactor these deps as classes that derive from WvPLSDKEnvironment may not rely on license SDK(s). "//base", "@abseil_repo//absl/strings", "@abseil_repo//absl/synchronization", "//util:status", ":wvpl_types", "//common:aes_cbc_util", "//common:certificate_type", "//common:certificate_util", "//common:drm_service_certificate", "//common:error_space", "//common:sha_util", "//license_server_sdk/internal:sdk", "//protos/public:device_certificate_status_proto", "//protos/public:errors_proto", "//protos/public:provisioned_device_info_proto", ], ) cc_library( name = "sdk", srcs = glob( ["*.cc"], ), hdrs = glob( ["*.h"], ), deps = [ ":wvpl_types", "//base", "@abseil_repo//absl/strings", "@abseil_repo//absl/synchronization", "//util:status", "//common:aes_cbc_util", "//common:certificate_type", "//common:certificate_util", "//common:drm_service_certificate", "//common:error_space", "//common:remote_attestation_verifier", "//common:sha_util", "//common:verified_media_pipeline", "//license_server_sdk/internal:sdk", "//protos/public:client_identification_proto", "//protos/public:device_certificate_status_proto", "//protos/public:errors_proto", "//protos/public:license_protocol_proto", "//protos/public:license_server_sdk_proto", "//protos/public:provisioned_device_info_proto", ], )