blob: 69d6424405eeaab267617bfcea8f11d35ec22f65 [file] [log] [blame]
# 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.
import("//build/rust/rustc_library.gni")
if (is_host) {
rustc_library("lib") {
name = "ffx_fastboot"
version = "0.1.0"
edition = "2018"
with_unit_tests = true
deps = [
"//src/developer/fastboot:lib",
"//src/lib/usb_bulk/rust:lib",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:async-std",
"//third_party/rust_crates:log",
]
non_rust_deps = [ "//third_party/boringssl" ]
sources = [ "src/lib.rs" ]
}
}
group("tests") {
testonly = true
deps = [
":lib_test($host_toolchain)",
"//src/developer/fastboot:tests($host_toolchain)",
]
}