blob: b2f1fb616b479d597812de2af7ecc7895200d6ea [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/dist/resource.gni")
import("//build/rust/rustc_binary.gni")
rustc_binary("grand-swd-binary") {
output_name = "grand_swd_binary"
with_unit_tests = true
edition = "2018"
deps = [
"//src/sys/pkg/bin/omaha-client:lib",
"//src/sys/pkg/bin/pkg-cache:lib",
"//src/sys/pkg/bin/pkg-resolver:lib",
"//src/sys/pkg/bin/system-update-committer:lib",
"//src/sys/pkg/bin/system-update-configurator:lib",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:thiserror",
]
sources = [ "src/main.rs" ]
}
fuchsia_unittest_package("grand-swd-binary-tests") {
deps = [ ":grand-swd-binary_test" ]
}
group("tests") {
testonly = true
deps = [ ":grand-swd-binary-tests" ]
}