| # 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/components/fuchsia_test_component.gni") |
| import("//build/rust/rustc_binary.gni") |
| |
| rustc_binary("security_pkg_paver-binary") { |
| testonly = true |
| output_name = "security_pkg_paver" |
| edition = "2021" |
| source_root = "src/main.rs" |
| |
| sources = [ "src/main.rs" ] |
| deps = [ |
| "//sdk/fidl/fuchsia.paver:fuchsia.paver-rustc", |
| "//src/lib/fuchsia-async", |
| "//src/lib/fuchsia-component", |
| "//src/lib/syslog/rust:syslog", |
| "//src/sys/pkg/testing/mock-paver", |
| "//third_party/rust_crates:futures", |
| ] |
| } |
| |
| fuchsia_test_component("security_pkg_paver-component") { |
| component_name = "security_pkg_paver" |
| manifest = "meta/security_pkg_paver.cml" |
| deps = [ ":security_pkg_paver-binary" ] |
| } |