blob: db9267e3fe073e874d4c0e90073530d23d016c4b [file] [log] [blame]
# Copyright 2022 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("package_utils") {
edition = "2021"
name = "assembly_package_utils"
version = "0.1.0"
with_unit_tests = true
deps = [
"//src/lib/assembly/util",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:serde",
]
test_deps = [
"//third_party/rust_crates:serde_json",
"//third_party/rust_crates:serde_json5",
]
sources = [
"src/lib.rs",
"src/package_utils.rs",
]
}
group("host_tests") {
testonly = true
deps = [ ":package_utils_test" ]
}