diff options
author | kste <kste@google.com> | 2020-03-03 01:00:51 -0800 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2020-03-03 01:01:23 -0800 |
commit | b23408dccf6d20a3f55f98de2517d0d00b42cd4e (patch) | |
tree | 6d5ad1d8d61492e84b3ab6234d90056174f6f1e7 /BUILD.bazel | |
parent | e700964de2985dbc282498e2a815d3e684f9c2e5 (diff) | |
download | tink-b23408dccf6d20a3f55f98de2517d0d00b42cd4e.tar.gz |
Add separate WORKSPACE for Python.
PiperOrigin-RevId: 298547627
Diffstat (limited to 'BUILD.bazel')
-rw-r--r-- | BUILD.bazel | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/BUILD.bazel b/BUILD.bazel index 8be0945dd..61bca3652 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -2,14 +2,17 @@ # Tink (https://github.com/google/tink) is a small crypto library that # provides a safe, simple, agile and fast way to accomplish some common # crypto tasks. +load("@bazel_gazelle//:def.bzl", "gazelle") +load("@rules_python//python:defs.bzl", "py_library") package(default_visibility = ["//:__subpackages__"]) licenses(["notice"]) -exports_files(["LICENSE"]) - -load("@bazel_gazelle//:def.bzl", "gazelle") +exports_files([ + "LICENSE", + "__init__.py", +]) # gazelle:prefix github.com/google/tink gazelle(name = "gazelle") @@ -29,3 +32,12 @@ filegroup( "tink_version.cmake", ], ) + +py_library( + name = "tink_python", + srcs = ["__init__.py"], + visibility = ["//visibility:public"], + deps = [ + "//python:tink", + ], +) |