Files
provisioning_sdk_source/example/BUILD
Kongqun Yang 168371df2e Specify binary release files in BUILD instead of in Jenkins
This is more track-able compared to Jenkins.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=146120190

Change-Id: Ie284e431ca1a777b19f64d5e6a7bb9a2c757779d
2017-01-31 10:00:28 -08:00

50 lines
1.2 KiB
Python

################################################################################
# Copyright 2016 Google Inc.
#
# 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:random_util",
"//common:rsa_key",
"//protos/public:certificate_provisioning_proto",
"//protos/public:client_identification_proto",
],
)