blob: 4f2a17d6aa6c0609e361a12b8de98bad93b774d1 [file] [log] [blame] [edit]
# 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/components.gni")
import("//build/rust/rustc_library.gni")
rustc_library("lib") {
name = "mock-boot-arguments"
version = "0.0.1"
edition = "2018"
with_unit_tests = true
deps = [
"//sdk/fidl/fuchsia.boot:fuchsia.boot-rustc",
"//src/lib/fidl/rust/fidl",
"//src/lib/fuchsia-async",
"//src/sys/pkg/lib/fuchsia-hash",
"//third_party/rust_crates:futures",
]
test_deps = [ "//third_party/rust_crates:maplit" ]
sources = [ "src/lib.rs" ]
}
fuchsia_unittest_package("mock-boot-arguments-tests") {
deps = [ ":lib_test" ]
}
group("tests") {
testonly = true
deps = [ ":mock-boot-arguments-tests" ]
}