| # Copyright 2023 The Chromium Authors | |
| # Use of this source code is governed by a BSD-style license that can be | |
| # found in the LICENSE file. | |
| import("//build/rust/rust_static_library.gni") | |
| rust_static_library("processor") { | |
| crate_name = "processor" | |
| sources = [ | |
| "src/der.rs", | |
| "src/lib.rs", | |
| "src/macros.rs", | |
| "src/passkeys.rs", | |
| "src/pin.rs", | |
| "src/recovery_key_store.rs", | |
| "src/spki.rs", | |
| ] | |
| deps = [ | |
| "//third_party/cloud_authenticator/cbor", | |
| "//third_party/cloud_authenticator/chromesync", | |
| "//third_party/cloud_authenticator/crypto", | |
| "//third_party/rust/base64/v0_22:lib", | |
| "//third_party/rust/bytes/v1:lib", | |
| "//third_party/rust/lazy_static/v1:lib", | |
| "//third_party/rust/prost/v0_14:lib", | |
| "//third_party/rust/static_assertions/v1:lib", | |
| ] | |
| no_chromium_prelude = true | |
| testonly = true | |
| no_clippy = true # TODO(https://crbug.com/472355480) | |
| # Switches to using test keys for the recovery key store. | |
| features = [ "chromium_integration_test" ] | |
| } |