aboutsummaryrefslogtreecommitdiff
path: root/cc/tink_cc_deps.bzl
diff options
context:
space:
mode:
authorckl <ckl@google.com>2022-01-14 15:34:02 -0800
committerCopybara-Service <copybara-worker@google.com>2022-01-14 15:34:44 -0800
commit54d75de6e7e0e697b336f4559a71f1219987961f (patch)
tree7210e6480edc67d340b759596b327a1c41a753f0 /cc/tink_cc_deps.bzl
parent3e661e5e997d04f4b3e84cec3943c10050ff5288 (diff)
downloadtink-54d75de6e7e0e697b336f4559a71f1219987961f.tar.gz
Rollback: Move depedencies on AWS-KMS SDK from tink/cc to tink/kms/cc/aws
Fixes continuous testing breakges. PiperOrigin-RevId: 421926476
Diffstat (limited to 'cc/tink_cc_deps.bzl')
-rw-r--r--cc/tink_cc_deps.bzl38
1 files changed, 38 insertions, 0 deletions
diff --git a/cc/tink_cc_deps.bzl b/cc/tink_cc_deps.bzl
index 000a18b33..6aa8f8e60 100644
--- a/cc/tink_cc_deps.bzl
+++ b/cc/tink_cc_deps.bzl
@@ -47,6 +47,44 @@ def tink_cc_deps():
build_file = "@tink_cc//:third_party/rapidjson.BUILD.bazel",
)
+ if not native.existing_rule("aws_cpp_sdk"):
+ # Release from 2020-06-01
+ http_archive(
+ name = "aws_cpp_sdk",
+ # Must be in sync with defines in third_party/aws_sdk_cpp.BUILD.bazel.
+ url = "https://github.com/aws/aws-sdk-cpp/archive/1.7.345.tar.gz",
+ sha256 = "7df6491e6e0fac726c00b5e6298d5749b131b25a3dd8b905eb311dc7dcc97aaf",
+ strip_prefix = "aws-sdk-cpp-1.7.345",
+ build_file = "@tink_cc//:third_party/aws_sdk_cpp.BUILD.bazel",
+ )
+
+ if not native.existing_rule("aws_c_common"):
+ http_archive(
+ name = "aws_c_common",
+ url = "https://github.com/awslabs/aws-c-common/archive/v0.4.29.tar.gz",
+ sha256 = "01c2a58553a37b3aa5914d9e0bf7bf14507ff4937bc5872a678892ca20fcae1f",
+ strip_prefix = "aws-c-common-0.4.29",
+ build_file = "@tink_cc//:third_party/aws_c_common.BUILD.bazel",
+ )
+
+ if not native.existing_rule("aws_c_event_stream"):
+ http_archive(
+ name = "aws_c_event_stream",
+ url = "https://github.com/awslabs/aws-c-event-stream/archive/v0.1.4.tar.gz",
+ sha256 = "31d880d1c868d3f3df1e1f4b45e56ac73724a4dc3449d04d47fc0746f6f077b6",
+ strip_prefix = "aws-c-event-stream-0.1.4",
+ build_file = "@tink_cc//:third_party/aws_c_event_stream.BUILD.bazel",
+ )
+
+ if not native.existing_rule("aws_checksums"):
+ http_archive(
+ name = "aws_checksums",
+ url = "https://github.com/awslabs/aws-checksums/archive/v0.1.5.tar.gz",
+ sha256 = "6e6bed6f75cf54006b6bafb01b3b96df19605572131a2260fddaf0e87949ced0",
+ strip_prefix = "aws-checksums-0.1.5",
+ build_file = "@tink_cc//:third_party/aws_checksums.BUILD.bazel",
+ )
+
# gRPC needs rules_apple, which in turn needs rules_swift and apple_support
if not native.existing_rule("build_bazel_rules_apple"):
# Release from 2021-10-29