blob: 143e5d3893dc9b5408a8834f24a74e00993c4fab [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")
if (is_host) {
rustc_library("validate_util") {
edition = "2021"
name = "assembly_validate_util"
with_unit_tests = true
deps = [
"//src/sys/pkg/lib/far/rust:fuchsia-archive",
"//third_party/rust_crates:thiserror",
]
sources = [ "src/lib.rs" ]
}
group("host_tests") {
testonly = true
deps = [ ":validate_util_test" ]
}
}