Skip to content

Commit 2deb282

Browse files
chuckxcopybara-github
authored andcommitted
Update Bazel and migrate to Bazel modules.
PiperOrigin-RevId: 627992337 Change-Id: I061e6774ecd4fd93f6e953183547c2f315a5aa53
1 parent 05730d7 commit 2deb282

File tree

4 files changed

+13
-75
lines changed

4 files changed

+13
-75
lines changed

.bazelversion

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6.0.0
1+
7.1.1

MODULE.bazel

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
"""Tink Obj-C Bazel module definition."""
2+
3+
module(
4+
name = "tink_objc",
5+
version = "1.7.0",
6+
)
7+
8+
bazel_dep(name = "apple_support", version = "1.15.1", repo_name = "build_bazel_apple_support")
9+
bazel_dep(name = "rules_apple", version = "3.5.1", repo_name = "build_bazel_rules_apple")
10+
bazel_dep(name = "rules_cc", version = "0.0.9")
11+
bazel_dep(name = "tink_cc", version = "2.1.3")
12+
bazel_dep(name = "abseil-cpp", version = "20230802.1", repo_name = "com_google_absl")

WORKSPACE

-25
Original file line numberDiff line numberDiff line change
@@ -1,25 +0,0 @@
1-
workspace(name = "tink_objc")
2-
3-
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
4-
5-
# Commit form Nov 22, 2023. This commit makes the @tink_cc//tink/config:global_registry target
6-
# public, which is needed by several targets in this repo.
7-
# TODO(ise-crypto): Replace this with a stable release that includes this change.
8-
http_archive(
9-
name = "tink_cc",
10-
urls = ["https://github.com/tink-crypto/tink-cc/archive/73798d15c7db4f37570be562f72dc7cbfc3cc589.zip"],
11-
strip_prefix = "tink-cc-73798d15c7db4f37570be562f72dc7cbfc3cc589",
12-
sha256 = "a18ae0b19ebbc8e76e81c7db8d9866197013d2b04d68ee6ca4ac3a3c6f3b4dfd",
13-
)
14-
15-
load("@tink_cc//:tink_cc_deps.bzl", "tink_cc_deps")
16-
17-
tink_cc_deps()
18-
19-
load("@tink_cc//:tink_cc_deps_init.bzl", "tink_cc_deps_init")
20-
21-
tink_cc_deps_init()
22-
23-
load("@tink_objc//:tink_objc_deps.bzl", "tink_objc_deps")
24-
25-
tink_objc_deps()

tink_objc_deps.bzl

-49
This file was deleted.

0 commit comments

Comments
 (0)