workspace(name = "provisioning_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", commit = "aa844899c937bde5d2b24f276b59997e5b668bde", #2019-08-08 remote = "https://github.com/abseil/abseil-cpp.git", ) # 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 = "14164f6fef47b7ebd97cdb0cea1624eabd6fe6b8", # 2018-11-26 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", ) # py_proto_library depends on six indirectly (py_proto_library uses # protobuf_python as its default runtime which depends on six). new_git_repository( name = "six_repo", build_file = "@//:six.BUILD", remote = "https://github.com/benjaminp/six.git", tag = "1.10.0", ) bind( name = "six", actual = "@six_repo//:six", ) 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", )