| # Copyright 2021 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("test-battery-manager") { |
| edition = "2021" |
| name = "test-battery-manager" |
| testonly = true |
| |
| deps = [ |
| "//sdk/fidl/fuchsia.power.battery:fuchsia.power.battery_rust", |
| "//src/connectivity/bluetooth/lib/battery-client", |
| "//src/lib/fidl/rust/fidl", |
| "//third_party/rust_crates:futures", |
| ] |
| |
| sources = [ "src/lib.rs" ] |
| |
| configs -= [ "//build/config/rust/lints:allow_unused_results" ] |
| } |