aboutsummaryrefslogtreecommitdiff
path: root/python/WORKSPACE
diff options
context:
space:
mode:
authorambrosin <ambrosin@google.com>2022-04-11 00:02:51 -0700
committerCopybara-Service <copybara-worker@google.com>2022-04-11 00:03:58 -0700
commit3031a15492a8dfac51bff287a1f38369d4b5d602 (patch)
tree2f49da21a689c6272dfdc5217f0003f8c680ed12 /python/WORKSPACE
parent3d22db6145187f6f0134d5466b28319d55c04db2 (diff)
downloadtink-3031a15492a8dfac51bff287a1f38369d4b5d602.tar.gz
Move C++ AWS-KMS integration to a separate WORKSPACE.
This change adds a WORKSPACE file in cc/integration/awskms, maintaining the same folder structure as before. In summary: * Add new WORKSPACE in cc/integration/awskms. * Add `.bazelignore` to instruct Bazel to ignore the subfolder `integration/awskms`. * Remove dependency on AWS-KMS SDK and Curl+Zlib from `tink_cc`, move such dependencies to the new workspace; move corresponding Bazel build files in cc/third_party to `cc/integration/awskms/third_party`. * Add/Update the explicit repository dependency throughout. PiperOrigin-RevId: 440806382
Diffstat (limited to 'python/WORKSPACE')
-rw-r--r--python/WORKSPACE15
1 files changed, 15 insertions, 0 deletions
diff --git a/python/WORKSPACE b/python/WORKSPACE
index 1b15a581a..a68ebf6d4 100644
--- a/python/WORKSPACE
+++ b/python/WORKSPACE
@@ -10,22 +10,37 @@ local_repository(
path = "../cc",
)
+local_repository(
+ name = "tink_cc_awskms",
+ path = "../cc/integration/awskms",
+)
+
# Need to load rules_python earlier as proto uses an older version which is
# incompatible with our Python implementation will load
load("@tink_py//:tink_py_deps.bzl", "tink_py_deps")
+
tink_py_deps()
load("@tink_py//:tink_py_deps_init.bzl", "tink_py_deps_init")
+
tink_py_deps_init("tink_py")
load("@tink_base//:tink_base_deps.bzl", "tink_base_deps")
+
tink_base_deps()
load("@tink_base//:tink_base_deps_init.bzl", "tink_base_deps_init")
+
tink_base_deps_init()
load("@tink_cc//:tink_cc_deps.bzl", "tink_cc_deps")
+
tink_cc_deps()
load("@tink_cc//:tink_cc_deps_init.bzl", "tink_cc_deps_init")
+
tink_cc_deps_init()
+
+load("@tink_cc_awskms//:tink_cc_awskms_deps.bzl", "tink_cc_awskms_deps")
+
+tink_cc_awskms_deps()