| # Copyright 2023 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. |
| |
| assert(is_host, "auth is for use with the host toolchain only") |
| |
| import("//build/rust/rustc_library.gni") |
| import("//build/rust/rustc_test.gni") |
| |
| rustc_library("lib") { |
| name = "auth" |
| edition = "2021" |
| |
| deps = [ |
| "//src/developer/ffx/lib/fho:lib", |
| |
| # TODO(b/302078392): remove this when AuthFlowChoice is moved out of PBMS. |
| "//src/developer/ffx/lib/pbms:lib", |
| "//src/developer/lib/credentials:lib", |
| "//src/lib/gcs", |
| "//src/lib/structured_ui", |
| "//third_party/rust_crates:anyhow", |
| "//third_party/rust_crates:log", |
| "//third_party/rust_crates:thiserror", |
| ] |
| |
| sources = [ "src/lib.rs" ] |
| } |