Skip to content

Commit

Permalink
Remove deprecated config.h
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 516143220
Change-Id: Idf3a3cab65bdcbabb8ac88a91f2935f48f4ee844
  • Loading branch information
morambro authored and copybara-github committed Mar 13, 2023
1 parent 0a8cc6a commit 753c5c0
Show file tree
Hide file tree
Showing 31 changed files with 0 additions and 387 deletions.
39 changes: 0 additions & 39 deletions tink/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ cc_library(
"binary_keyset_reader.h",
"binary_keyset_writer.h",
"catalogue.h",
"config.h",
"deterministic_aead.h",
"deterministic_aead_config.h",
"deterministic_aead_factory.h",
Expand Down Expand Up @@ -407,31 +406,6 @@ cc_library(
],
)

cc_library(
name = "config",
srcs = ["core/config.cc"],
hdrs = ["config.h"],
include_prefix = "tink",
deps = [
":catalogue",
":key_manager",
":registry",
"//tink/aead:aead_config",
"//tink/daead:deterministic_aead_config",
"//tink/hybrid:hybrid_config",
"//tink/mac:mac_config",
"//proto:config_cc_proto",
"//tink/signature:signature_config",
"//tink/streamingaead:streaming_aead_config",
"//tink/util:errors",
"//tink/util:status",
"//tink/util:statusor",
"@com_google_absl//absl/base:core_headers",
"@com_google_absl//absl/status",
"@com_google_absl//absl/strings",
],
)

cc_library(
name = "crypto_format",
srcs = ["core/crypto_format.cc"],
Expand Down Expand Up @@ -856,18 +830,6 @@ cc_test(
],
)

cc_test(
name = "config_test",
size = "small",
srcs = ["core/config_test.cc"],
deps = [
":config",
":mac",
"//proto:config_cc_proto",
"@com_google_googletest//:gtest_main",
],
)

cc_test(
name = "crypto_format_test",
size = "small",
Expand Down Expand Up @@ -963,7 +925,6 @@ cc_test(
size = "small",
srcs = ["core/keyset_manager_test.cc"],
deps = [
":config",
":keyset_handle",
":keyset_manager",
"//tink/aead:aead_config",
Expand Down
37 changes: 0 additions & 37 deletions tink/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ tink_cc_library(
binary_keyset_writer.h
catalogue.h
cleartext_keyset_handle.h
config.h
deterministic_aead.h
deterministic_aead_config.h
deterministic_aead_factory.h
Expand Down Expand Up @@ -377,30 +376,6 @@ tink_cc_library(
tink::util::statusor
)

tink_cc_library(
NAME config
SRCS
core/config.cc
config.h
DEPS
tink::core::catalogue
tink::core::key_manager
tink::core::registry
absl::core_headers
absl::status
absl::strings
tink::aead::aead_config
tink::daead::deterministic_aead_config
tink::hybrid::hybrid_config
tink::mac::mac_config
tink::signature::signature_config
tink::streamingaead::streaming_aead_config
tink::util::errors
tink::util::status
tink::util::statusor
tink::proto::config_cc_proto
)

tink_cc_library(
NAME crypto_format
SRCS
Expand Down Expand Up @@ -797,17 +772,6 @@ tink_cc_test(
tink::proto::tink_cc_proto
)

tink_cc_test(
NAME config_test
SRCS
core/config_test.cc
DEPS
tink::core::config
tink::core::mac
gmock
tink::proto::config_cc_proto
)

tink_cc_test(
NAME crypto_format_test
SRCS
Expand Down Expand Up @@ -899,7 +863,6 @@ tink_cc_test(
SRCS
core/keyset_manager_test.cc
DEPS
tink::core::config
tink::core::keyset_handle
tink::core::keyset_manager
gmock
Expand Down
124 changes: 0 additions & 124 deletions tink/config.h

This file was deleted.

2 changes: 0 additions & 2 deletions tink/config/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ cc_library(
include_prefix = "tink/config",
visibility = ["//visibility:public"],
deps = [
"//tink:config",
"//tink:key_manager",
"//tink:registry",
"//tink/daead:deterministic_aead_config",
Expand Down Expand Up @@ -62,7 +61,6 @@ cc_test(
deps = [
":tink_config",
"//tink:aead",
"//tink:config",
"//tink:deterministic_aead",
"//tink:hybrid_decrypt",
"//tink:hybrid_encrypt",
Expand Down
2 changes: 0 additions & 2 deletions tink/config/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ tink_cc_library(
tink_config.h
DEPS
absl::core_headers
tink::core::config
tink::core::key_manager
tink::core::registry
tink::daead::deterministic_aead_config
Expand Down Expand Up @@ -53,7 +52,6 @@ tink_cc_test(
absl::status
tink::core::cc
tink::core::aead
tink::core::config
tink::core::deterministic_aead
tink::core::hybrid_decrypt
tink::core::hybrid_encrypt
Expand Down
1 change: 0 additions & 1 deletion tink/config/tink_config.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

#include "tink/config/tink_config.h"

#include "tink/config.h"
#include "tink/daead/deterministic_aead_config.h"
#include "tink/hybrid/hybrid_config.h"
#include "tink/key_manager.h"
Expand Down
1 change: 0 additions & 1 deletion tink/config/tink_config_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
#include "absl/status/status.h"
#include "tink/aead.h"
#include "tink/aead/aes_gcm_key_manager.h"
#include "tink/config.h"
#include "tink/deterministic_aead.h"
#include "tink/hybrid_decrypt.h"
#include "tink/hybrid_encrypt.h"
Expand Down
92 changes: 0 additions & 92 deletions tink/core/config.cc

This file was deleted.

Loading

0 comments on commit 753c5c0

Please sign in to comment.