| # 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("test_util") { |
| edition = "2018" |
| testonly = true |
| name = "assembly_test_util" |
| version = "0.1.0" |
| with_unit_tests = true |
| deps = [ "//src/sys/pkg/lib/fuchsia-pkg" ] |
| test_deps = [ |
| "//third_party/rust_crates:serial_test", |
| "//third_party/rust_crates:tempfile", |
| ] |
| sources = [ "src/lib.rs" ] |
| } |