blob: 8ff4bd2f06f487dcd1b9055aef9fa03c84b268c8 [file]
# Copyright 2021 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/host.gni")
import("//build/rust/rustc_library.gni")
if (is_host) {
rustc_library("util") {
name = "assembly_util"
version = "0.1.0"
with_unit_tests = true
deps = [
"//src/sys/pkg/lib/fuchsia-pkg",
"//third_party/rust_crates:anyhow",
]
test_deps = [ "//third_party/rust_crates:tempfile" ]
sources = [ "src/lib.rs" ]
}
}
group("tests") {
testonly = true
deps = [ ":util_test($host_toolchain)" ]
}