Skip to content

Commit ea050d5

Browse files
morambrocopybara-github
authored andcommitted
Make sure tink-cc and Protobuf use the same Abseil repository
For this we use a `repo_mapping` to account for the new project name introduced in https://github.com/abseil/abseil-cpp/releases/tag/20250127.1. PiperOrigin-RevId: 748288881 Change-Id: Iaa72b5d4467ddde5da63ab2a2c602167ade15866
1 parent 6460e87 commit ea050d5

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

tink_py_deps.bzl

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -26,23 +26,18 @@ def tink_py_deps():
2626
sha256 = "17b18cb4f92ab7b94aa343ce78531b73960b1bed2ba166e5b02c9fdf0b0ac270",
2727
)
2828

29-
# Needed by com_google_protobuf.
30-
maybe(
31-
http_archive,
32-
name = "com_google_absl",
33-
sha256 = "16242f394245627e508ec6bb296b433c90f8d914f73b9c026fddb905e27276e8",
34-
strip_prefix = "abseil-cpp-20250127.0",
35-
urls = [
36-
"https://github.com/abseil/abseil-cpp/releases/download/20250127.0/abseil-cpp-20250127.0.tar.gz",
37-
],
38-
)
39-
4029
maybe(
4130
http_archive,
4231
name = "com_google_protobuf",
4332
sha256 = "6544e5ceec7f29d00397193360435ca8b3c4e843de3cf5698a99d36b72d65342",
4433
strip_prefix = "protobuf-30.2",
4534
urls = ["https://github.com/protocolbuffers/protobuf/releases/download/v30.2/protobuf-30.2.zip"],
35+
# Make sure we protobuf uses the same Abseil version as [email protected].
36+
# This can be removed once tink-cc moves to
37+
# https://github.com/abseil/abseil-cpp/releases/tag/20250127.1.
38+
repo_mapping = {
39+
"@abseil-cpp": "@com_google_absl",
40+
},
4641
)
4742

4843
# Release from 2024-02-13

0 commit comments

Comments
 (0)