| package(default_visibility = ["//tools/build_defs:internal_pkg"]) |
| |
| licenses(["notice"]) |
| |
| cc_library( |
| name = "cc_key_manager", |
| hdrs = ["cc_key_manager.h"], |
| include_prefix = "tink/", |
| deps = [ |
| "//cc", |
| "//cc/util:errors", |
| "//cc/util:status", |
| "//cc/util:statusor", |
| "//proto:tink_cc_proto", |
| ], |
| ) |
| |
| cc_library( |
| name = "simple_output_stream", |
| hdrs = ["simple_output_stream.h"], |
| include_prefix = "tink/python", |
| strip_include_prefix = "/python", |
| deps = [ |
| "//cc/util:status", |
| "//cc/util:statusor", |
| "@com_google_absl//absl/strings", |
| ], |
| ) |
| |
| cc_library( |
| name = "simple_output_stream_adapter", |
| srcs = ["simple_output_stream_adapter.cc"], |
| hdrs = ["simple_output_stream_adapter.h"], |
| include_prefix = "tink/python", |
| strip_include_prefix = "/python", |
| deps = [ |
| ":simple_output_stream", |
| "//cc:output_stream", |
| "//cc/subtle:subtle_util", |
| "//cc/util:errors", |
| "//cc/util:status", |
| "//cc/util:statusor", |
| "@com_google_absl//absl/base:core_headers", |
| "@com_google_absl//absl/memory", |
| "@com_google_absl//absl/strings", |
| ], |
| ) |
| |
| cc_test( |
| name = "simple_output_stream_adapter_test", |
| size = "medium", |
| srcs = ["simple_output_stream_adapter_test.cc"], |
| linkopts = ["-lpthread"], |
| deps = [ |
| ":simple_output_stream", |
| ":simple_output_stream_adapter", |
| "//cc/subtle:random", |
| "//cc/util:status", |
| "//cc/util:statusor", |
| "@com_google_absl//absl/memory", |
| "@com_google_absl//absl/strings", |
| "@com_google_googletest//:gtest_main", |
| ], |
| ) |