blob: f4fad088971e8f32d48e32f1f67d071e1c1f4e2e [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")
assert(is_host, "Assembly libraries are host-only")
rustc_library("zbi") {
edition = "2021"
version = "0.1.0"
with_unit_tests = true
deps = [
"//src/lib/assembly/config_schema",
"//src/lib/assembly/tool",
"//src/lib/assembly/util",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:camino",
"//third_party/rust_crates:tracing",
"//third_party/rust_crates:zerocopy",
]
sources = [
"src/lib.rs",
"src/zbi.rs",
"src/zbi_items.rs",
]
}