blob: 5f4c5e52b670063648c0ac450d128b5d24110368 [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/host.gni")
import("//build/rust/rustc_library.gni")
if (is_host) {
rustc_library("images_manifest") {
edition = "2021"
name = "assembly_images_manifest"
version = "0.1.0"
with_unit_tests = true
deps = [
"//src/sys/pkg/lib/fuchsia-pkg",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:serde",
"//third_party/rust_crates:tempfile",
]
sources = [
"src/images_manifest.rs",
"src/lib.rs",
]
test_deps = [ "//third_party/rust_crates:serde_json" ]
}
group("host_tests") {
testonly = true
deps = [ ":images_manifest_test" ]
}
}