Files
media_cas_packager_sdk_source/example/BUILD
Fang Yu c20687acf3 1) Do not use gflags in the example binary code.
2) Also surface wv_cas_key_fetcher_example to partner.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=229965302
2019-01-18 11:43:12 -08:00

75 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",
"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",
"@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",
],
)