80 lines
1.8 KiB
Python
80 lines
1.8 KiB
Python
################################################################################
|
|
# 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",
|
|
"test_emmg_messages.h",
|
|
"wv_cas_ecm_example.cc",
|
|
"wv_cas_key_fetcher_example.cc",
|
|
"wv_cas_types_example.cc",
|
|
":wv_cas_ecm_example",
|
|
":wv_cas_key_fetcher_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",
|
|
"//common:status",
|
|
"//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 = [
|
|
"//common:status",
|
|
"//media_cas_packager_sdk/public:wv_cas_key_fetcher",
|
|
],
|
|
)
|
|
|
|
cc_binary(
|
|
name = "wv_cas_types_example",
|
|
srcs = ["wv_cas_types_example.cc"],
|
|
deps = ["//media_cas_packager_sdk/public:wv_cas_types"],
|
|
)
|
|
|
|
cc_binary(
|
|
name = "wv_cas_emm_example",
|
|
srcs = ["wv_cas_emm_example.cc"],
|
|
deps = [
|
|
"//base",
|
|
"//common:status",
|
|
"//media_cas_packager_sdk/public:wv_cas_emm",
|
|
],
|
|
)
|