xref: /aosp_15_r20/external/tink/cc/examples/WORKSPACE (revision e7b1675dde1b92d52ec075b0a92829627f2c52a5)
1workspace(name = "tink_cc_examples")
2
3# The local_repository() rule is used below because the workspaces referenced
4# are all located within the Tink git repository.
5#
6# To replicate this setup in a workspace located in a separate repository, you
7# can:
8#
9# 1. Load the http_archive() rule by using:
10#
11# load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
12#
13# 2. Use the equivalent, commented-out http_archive() rules below as a starting
14#    point.
15#
16# See the Tink C++ HOW-TO for more details:
17#   https://github.com/google/tink/blob/master/docs/CPP-HOWTO.md
18
19
20local_repository(
21    name = "tink_cc",
22    path = "../",
23)
24# http_archive(
25#     name = "tink_cc",
26#     urls = ["https://github.com/google/tink/archive/master.zip"],
27#     strip_prefix = "tink-master/cc",
28# )
29
30# Load Tink dependencies.
31
32load("@tink_cc//:tink_cc_deps.bzl", "tink_cc_deps")
33tink_cc_deps()
34
35load("@tink_cc//:tink_cc_deps_init.bzl", "tink_cc_deps_init")
36tink_cc_deps_init()
37