xref: /aosp_15_r20/external/tink/go/testkeyset/BUILD.bazel (revision e7b1675dde1b92d52ec075b0a92829627f2c52a5)
1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2
3package(default_visibility = ["//:__subpackages__"])  # keep
4
5licenses(["notice"])  # keep
6
7go_library(
8    name = "testkeyset",
9    testonly = 1,
10    srcs = ["testkeyset.go"],
11    importpath = "github.com/google/tink/go/testkeyset",
12    visibility = ["//visibility:public"],
13    deps = [
14        "//internal",
15        "//keyset",
16        "//proto/tink_go_proto",
17    ],
18)
19
20alias(
21    name = "go_default_library",
22    actual = ":testkeyset",
23    visibility = ["//visibility:public"],
24)
25
26go_test(
27    name = "testkeyset_test",
28    srcs = ["testkeyset_test.go"],
29    deps = [
30        ":testkeyset",
31        "//insecurecleartextkeyset",
32        "//keyset",
33        "//mac",
34        "//proto/tink_go_proto",
35        "@com_github_google_go_cmp//cmp",
36    ],
37)
38