blob: 0cac47accb362f188a8aab1b9ddd3fe3d43a8722 [file] [log] [blame]
# 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/rust/rustc_library.gni")
rustc_library("util") {
edition = "2021"
name = "assembly_util"
version = "0.1.0"
with_unit_tests = true
deps = [
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:camino",
"//third_party/rust_crates:pathdiff",
"//third_party/rust_crates:serde",
"//third_party/rust_crates:serde_json5",
]
test_deps = [ "//third_party/rust_crates:serde_json" ]
sources = [
"src/insert_unique.rs",
"src/lib.rs",
"src/path_to_string.rs",
"src/paths.rs",
]
}
group("host_tests") {
testonly = true
deps = [ ":util_test" ]
}