blob: b69263cd7ecf54c39a7117c88183e257f461586a [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 = "2021"
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" ]
}