Files
media_cas_packager_sdk_source/WORKSPACE
Lu Chen 79e39b482d Add support for Widevine ECM v3
Widevine ECM v3 is redesigned mainly based on protobuf, and supports new features including carrying fingerprinting and service blocking information. Existing clients must upgrade the Widevine CAS plugin to use the new ECM v3.
2020-12-14 09:49:52 -08:00

111 lines
2.9 KiB
Python

workspace(name = "media_cas_packager_sdk")
load("@bazel_tools//tools/build_defs/repo:git.bzl", "new_git_repository", "git_repository")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
# CCTZ (Time-zone framework), needed by abseil.
git_repository(
name = "com_googlesource_code_cctz",
remote = "https://github.com/google/cctz.git",
tag = "v2.2",
)
git_repository(
name = "abseil_repo",
remote = "https://github.com/abseil/abseil-cpp.git",
tag = "20200923.2",
)
# Name com_google_protobuf instead of protobuf_repo because Bazel's proto rules
# implicitly depend on @com_google_protobuf. See
# https://bazel.build/blog/2017/02/27/protocol-buffers.html.
git_repository(
name = "com_google_protobuf",
remote = "https://github.com/google/protobuf.git",
tag = "v3.8.0",
)
# Bazel custom build rule support.
git_repository(
name = "bazel_skylib",
remote = "https://github.com/bazelbuild/bazel-skylib.git",
tag = "0.8.0",
)
# Protobuf library support. Not included in the recent protobuf release.
http_archive(
name = "zlib",
build_file = "@com_google_protobuf//:third_party/zlib.BUILD",
sha256 = "c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1",
strip_prefix = "zlib-1.2.11",
urls = ["https://zlib.net/zlib-1.2.11.tar.gz"],
)
git_repository(
name = "boringssl_repo",
commit = "3ef9a6b03503ae25f9267473073fea9c39d9cdac", # 2020-10-27
remote = "https://github.com/google/boringssl.git",
)
git_repository(
name = "gflags_repo",
commit = "e171aa2d15ed9eb17054558e0b3a6a413bb01067", # 2018-11-11
remote = "https://github.com/gflags/gflags.git",
)
git_repository(
name = "googletest_repo",
commit = "b6cd405286ed8635ece71c72f118e659f4ade3fb", # 2019-01-04
remote = "https://github.com/google/googletest.git",
)
new_git_repository(
name = "glog_repo",
build_file = "@//:glog.BUILD",
commit = "0472b91c5defdf90cff7292e3bf7bd86770a9a0a", # 2016-07-13
remote = "https://github.com/google/glog.git",
)
new_git_repository(
name = "curl_repo",
build_file = "@//:external_build_files/curl.BUILD",
commit = "9cf7b7e66089ee2150ff6e5709a3cca91841ec0b", # 2018-11-16
remote = "https://github.com/curl/curl.git",
)
new_git_repository(
name = "zlib_repo",
build_file = "@//:external_build_files/zlib.BUILD",
commit = "cacf7f1d4e3d44d871b605da3b647f07d718623f", # 2017-01-15
remote = "https://github.com/madler/zlib.git",
)
bind(
name = "protobuf",
actual = "@com_google_protobuf//:protobuf",
)
bind(
name = "openssl",
actual = "@boringssl_repo//:crypto",
)
bind(
name = "gflags",
actual = "@gflags_repo//:gflags",
)
bind(
name = "gtest",
actual = "@googletest_repo//:gtest",
)
bind(
name = "gtest_main",
actual = "@googletest_repo//:gtest_main",
)
bind(
name = "glog",
actual = "@glog_repo//:glog",
)