Files
2020-09-21 15:54:27 -07:00

51 lines
1.3 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.
################################################################################
# Build file for the example code.
package(
default_visibility = ["//visibility:public"],
)
filegroup(
name = "binary_release_files",
srcs = [
"provisioning_example.cc",
":example_data",
":provisioning_message_generator",
],
)
filegroup(
name = "example_data",
srcs = glob(["example_data/*"]),
)
cc_binary(
name = "provisioning_example",
srcs = ["provisioning_example.cc"],
deps = [
"//provisioning_sdk/public:libprovisioning_sdk",
],
)
cc_binary(
name = "provisioning_message_generator",
srcs = ["provisioning_message_generator.cc"],
deps = [
"//base",
"//common:aes_cbc_util",
"//common:file_util",
"//common:hash_algorithm_util",
"//common:random_util",
"//common:rsa_key",
"//protos/public:certificate_provisioning_cc_proto",
"//protos/public:client_identification_cc_proto",
],
)