blob: 418075e3a388e8a4fff651efa51bb5b758674044 [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/host.gni")
import("//build/rust/rustc_library.gni")
assert(is_host, "Assembly libraries are host-only")
rustc_library("images_config") {
edition = "2024"
name = "assembly_images_config"
version = "0.1.0"
with_unit_tests = true
deps = [
"//src/lib/assembly/container",
"//src/lib/assembly/file_relative_path",
"//src/storage/fshost/config",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:camino",
"//third_party/rust_crates:schemars",
"//third_party/rust_crates:serde",
"//third_party/rust_crates:serde_json5",
]
test_deps = [ "//third_party/rust_crates:serde_json" ]
sources = [
"src/board_filesystem_config.rs",
"src/images_config.rs",
"src/lib.rs",
"src/product_filesystem_config.rs",
]
}