blob: 7462306dd151f6d533325f1b96541f9faaf2bfe0 [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("driver_manifest") {
edition = "2021"
name = "assembly_driver_manifest"
version = "0.1.0"
with_unit_tests = true
deps = [
"//src/lib/assembly/config_schema",
"//src/sys/pkg/lib/fuchsia-pkg",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:camino",
"//third_party/rust_crates:serde",
"//third_party/rust_crates:serde_json",
]
test_deps = [
"//src/lib/assembly/test_util",
"//src/sys/pkg/lib/far/rust:fuchsia-archive",
"//third_party/rust_crates:camino",
"//third_party/rust_crates:tempfile",
]
sources = [
"src/driver_manifest.rs",
"src/lib.rs",
]
}
group("host_tests") {
testonly = true
deps = [ ":driver_manifest_test" ]
}