blob: 28623c8d01f0e329f523f74f4a8b78bbc98c36e1 [file] [log] [blame]
# Copyright 2024 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")
assert(is_host, "This library is only for host tools")
rustc_library("lib") {
name = "ffx_product"
with_unit_tests = true
edition = "2021"
sources = [ "src/lib.rs" ]
deps = [
"//src/developer/ffx/lib/fho:lib",
"//src/developer/ffx/lib/writer:lib",
"//src/lib/structured_ui",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:schemars",
"//third_party/rust_crates:serde",
]
test_deps = [
"//src/lib/fuchsia",
"//third_party/rust_crates:serde_json",
]
}
group("tests") {
testonly = true
deps = [ ":lib_test" ]
}