blob: 454a93223bc4ebf1e20b0ba594f59613372da6d8 [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/components.gni")
import("//build/rust/rustc_binary.gni")
rustc_binary("multi-universal-tool") {
output_name = "multi_universal_tool"
with_unit_tests = true
edition = "2018"
deps = [
"//src/sys/pkg/bin/pkgctl:lib",
"//src/sys/pkg/bin/update:lib",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:thiserror",
]
sources = [ "src/main.rs" ]
}
fuchsia_unittest_package("multi-universal-tool-tests") {
deps = [ ":multi-universal-tool_test" ]
}
group("tests") {
testonly = true
deps = [ ":multi-universal-tool-tests" ]
}