blob: ff72c1ab6eb4e9364ac112a556262b9c7159870c [file] [log] [blame]
# Copyright 2023 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")
visibility = [ "//src/sys/component_manager/*" ]
group("tests") {
testonly = true
deps = [ ":processargs-unittests" ]
}
rustc_library("processargs") {
edition = "2024"
with_unit_tests = true
deps = [
"//sdk/rust/zx",
"//src/lib/fuchsia-runtime",
"//src/lib/process_builder",
]
sources = [ "src/lib.rs" ]
}
# Run with `fx test processargs-unittests`.
fuchsia_unittest_package("processargs-unittests") {
deps = [ ":processargs_test" ]
}