################################################################################ # Copyright 2018 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. ################################################################################ # Build file for the example code. package( default_visibility = ["//visibility:public"], ) filegroup( name = "binary_release_files", srcs = [ "test_ecmg_messages.h", "wv_cas_ecm_example.cc", "wv_cas_types_example.cc", ":wv_cas_ecm_example", ":wv_cas_types_example", ], ) cc_library( name = "constants", hdrs = ["constants.h"], ) cc_library( name = "test_ecmg_messages", hdrs = ["test_ecmg_messages.h"], ) cc_library( name = "test_emmg_messages", hdrs = ["test_emmg_messages.h"], ) cc_binary( name = "wv_cas_ecm_example", srcs = ["wv_cas_ecm_example.cc"], deps = [ "//base", "@abseil_repo//absl/base:core_headers", "//media_cas_packager_sdk/public:wv_cas_ecm", "//media_cas_packager_sdk/public:wv_cas_types", ], ) cc_binary( name = "wv_cas_key_fetcher_example", srcs = ["wv_cas_key_fetcher_example.cc"], deps = [ "//base", "//common:status", "//media_cas_packager_sdk/public:wv_cas_key_fetcher", "//protos/public:media_cas_encryption_proto", ], ) cc_binary( name = "wv_cas_types_example", srcs = ["wv_cas_types_example.cc"], deps = [ "//base", "@abseil_repo//absl/base:core_headers", "//media_cas_packager_sdk/public:wv_cas_types", ], )