blob: ccfdd02859ff1216ea6e8e20027a615e88edcf0c [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")
import("//build/rust/rustc_test.gni")
import("//build/testing/test_spec.gni")
if (host_toolchain == current_toolchain) {
rustc_library("lib") {
name = "fastboot"
edition = "2018"
with_unit_tests = true
deps = [
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:log",
"//third_party/rust_crates:thiserror",
]
non_rust_deps = [ "//third_party/boringssl" ]
}
}
group("fastboot") {
deps = [ ":lib($host_toolchain)" ]
}
group("tests") {
testonly = true
deps = [ ":lib_test($host_toolchain)" ]
}