| # Copyright 2020 The Fuchsia Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| # CC Library : registry_impl |
| source_set("registry_impl") { |
| configs += [ "//build/config:no_rtti" ] |
| configs -= [ "//build/config:no_rtti" ] |
| sources = [ |
| "registry_impl.cc", |
| "registry_impl.h", |
| ] |
| public_deps = [ |
| ":core/key_manager_impl", |
| ":core/key_type_manager", |
| ":core/private_key_manager_impl", |
| ":core/private_key_type_manager", |
| "//third_party/abseil-cpp/absl/base:core_headers", |
| "//third_party/abseil-cpp/absl/strings:strings", |
| "//third_party/abseil-cpp/absl/synchronization:synchronization", |
| "//third_party/tink/cc:catalogue", |
| "//third_party/tink/cc:key_manager", |
| "//third_party/tink/cc:primitive_set", |
| "//third_party/tink/cc:primitive_wrapper", |
| "//third_party/tink/cc/util:errors", |
| "//third_party/tink/cc/util:protobuf_helper", |
| "//third_party/tink/cc/util:status", |
| "//third_party/tink/cc/util:statusor", |
| "//third_party/tink/cc/util:validation", |
| "//third_party/tink/proto:tink_proto", |
| ] |
| public_configs = [ "//third_party/tink:tink_config" ] |
| } |
| |
| # CC Library : core/template_util |
| source_set("core/template_util") { |
| configs += [ "//build/config:no_rtti" ] |
| configs -= [ "//build/config:no_rtti" ] |
| sources = [ "template_util.h" ] |
| public_deps = [ "//third_party/abseil-cpp/absl/meta:type_traits" ] |
| public_configs = [ "//third_party/tink:tink_config" ] |
| } |
| |
| # CC Library : core/key_type_manager |
| source_set("core/key_type_manager") { |
| configs += [ "//build/config:no_rtti" ] |
| configs -= [ "//build/config:no_rtti" ] |
| sources = [ "key_type_manager.h" ] |
| public_deps = [ |
| ":core/template_util", |
| "//third_party/abseil-cpp/absl/container:flat_hash_map", |
| "//third_party/tink/cc/util:status", |
| "//third_party/tink/cc/util:statusor", |
| "//third_party/tink/proto:tink_proto", |
| ] |
| public_configs = [ "//third_party/tink:tink_config" ] |
| } |
| |
| # CC Library : core/key_manager_impl |
| source_set("core/key_manager_impl") { |
| configs += [ "//build/config:no_rtti" ] |
| configs -= [ "//build/config:no_rtti" ] |
| sources = [ "key_manager_impl.h" ] |
| public_deps = [ |
| ":core/key_type_manager", |
| "//third_party/abseil-cpp/absl/base:core_headers", |
| "//third_party/tink/cc:key_manager", |
| "//third_party/tink/cc/util:constants", |
| "//third_party/tink/cc/util:status", |
| "//third_party/tink/proto:tink_proto", |
| ] |
| public_configs = [ "//third_party/tink:tink_config" ] |
| } |
| |
| # CC Library : core/private_key_type_manager |
| source_set("core/private_key_type_manager") { |
| configs += [ "//build/config:no_rtti" ] |
| configs -= [ "//build/config:no_rtti" ] |
| sources = [ "private_key_type_manager.h" ] |
| public_deps = [ |
| ":core/key_type_manager", |
| "//third_party/tink/cc/util:statusor", |
| ] |
| public_configs = [ "//third_party/tink:tink_config" ] |
| } |
| |
| # CC Library : core/private_key_manager_impl |
| source_set("core/private_key_manager_impl") { |
| configs += [ "//build/config:no_rtti" ] |
| configs -= [ "//build/config:no_rtti" ] |
| sources = [ "private_key_manager_impl.h" ] |
| public_deps = [ |
| ":core/key_manager_impl", |
| ":core/private_key_type_manager", |
| "//third_party/tink/cc:key_manager", |
| "//third_party/tink/cc/util:validation", |
| ] |
| public_configs = [ "//third_party/tink:tink_config" ] |
| } |