| # Copyright 2018 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. | |
| import("//build/rust/rustc_library.gni") | |
| rustc_library("token_manager") { | |
| edition = "2018" | |
| with_unit_tests = true | |
| deps = [ | |
| "//sdk/fidl/fuchsia.auth:fuchsia.auth-rustc", | |
| "//sdk/fidl/fuchsia.identity.external:fuchsia.identity.external-rustc", | |
| "//sdk/fidl/fuchsia.identity.tokens:fuchsia.identity.tokens-rustc", | |
| "//src/identity/lib/identity_common", | |
| "//src/identity/lib/token_cache", | |
| "//src/identity/lib/token_store", | |
| "//src/lib/fidl/rust/fidl", | |
| "//src/lib/fuchsia-async", | |
| "//src/lib/fuchsia-component", | |
| "//src/lib/fuchsia-runtime", | |
| "//src/lib/zircon/rust:fuchsia-zircon", | |
| "//third_party/rust_crates:anyhow", | |
| "//third_party/rust_crates:async-trait", | |
| "//third_party/rust_crates:futures", | |
| "//third_party/rust_crates:lazy_static", | |
| "//third_party/rust_crates:log", | |
| "//third_party/rust_crates:parking_lot", | |
| "//third_party/rust_crates:tempfile", | |
| "//third_party/rust_crates:thiserror", | |
| ] | |
| sources = [ | |
| "src/auth_provider_cache.rs", | |
| "src/auth_provider_connection.rs", | |
| "src/error.rs", | |
| "src/fake_auth_provider_supplier.rs", | |
| "src/lib.rs", | |
| "src/token_manager.rs", | |
| "src/tokens.rs", | |
| ] | |
| } |