blob: 04e7355fd878fc3d43f5c61aa90660b1cd457126 [file]
# 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/bazel/bazel_test_suite.gni")
bazel_test_suite("bazel_tests") {
target_tests = [ "//src/sys/component_manager/lib/serve_processargs:serve_processargs_unittests" ]
}
group("tests") {
testonly = true
deps = [
":bazel_tests",
":serve_processargs_unittests",
]
}
## BAZEL2GN SENTINEL - DO NOT EDIT BELOW THIS LINE ##
#
# ________ _________ ________ ________
# |\ ____\|\___ ___\\ __ \|\ __ \
# \ \ \___|\|___ \ \_\ \ \|\ \ \ \|\ \
# \ \_____ \ \ \ \ \ \ \\\ \ \ ____\
# \|____|\ \ \ \ \ \ \ \\\ \ \ \___|
# ____\_\ \ \ \__\ \ \_______\ \__\
# |\_________\ \|__| \|_______|\|__|
# \|_________|
#
#
# AUTO-GENERATED - DO NOT EDIT
#
# The targets below are auto-generated based on the targets defined in the
# BUILD.bazel file from the same directory. If you made changes to targets in
# Bazel, instead of editing this file manually, run:
#
# > fx bazel2gn
#
# Please do NOT edit this file directly. Instead, edit the BUILD.bazel file and
# rerun bazel2gn.
import("//build/tools/bazel2gn/bazel_migration.gni")
rustc_library("serve_processargs") {
sources = [
"src/lib.rs",
"src/namespace.rs",
]
edition = "2024"
visibility = [
":*",
"//src/sys/component_manager/*",
]
deps = [
"//sdk/fidl/fuchsia.component.runtime:fuchsia.component.runtime_rust",
"//sdk/fidl/fuchsia.io:fuchsia.io_rust",
"//src/lib/fidl/rust/fidl",
"//src/lib/fuchsia-async",
"//src/lib/fuchsia-fs",
"//src/lib/fuchsia-runtime",
"//src/storage/lib/vfs/rust:vfs",
"//src/sys/component_manager/lib/router_error",
"//src/sys/lib/cm_types",
"//src/sys/lib/namespace",
"//src/sys/lib/runtime_capabilities",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:log",
"//third_party/rust_crates:thiserror",
]
}
rustc_test("serve_processargs_test") {
sources = [
"src/lib.rs",
"src/namespace.rs",
]
edition = "2024"
deps =
[
"//sdk/fidl/fuchsia.component.runtime:fuchsia.component.runtime_rust",
"//sdk/fidl/fuchsia.io:fuchsia.io_rust",
"//src/lib/fidl/rust/fidl",
"//src/lib/fuchsia-async",
"//src/lib/fuchsia-fs",
"//src/lib/fuchsia-runtime",
"//src/storage/lib/vfs/rust:vfs",
"//src/sys/component_manager/lib/router_error",
"//src/sys/lib/cm_types",
"//src/sys/lib/namespace",
"//src/sys/lib/runtime_capabilities",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:log",
"//third_party/rust_crates:thiserror",
] +
[
"//sdk/rust/zx",
"//src/lib/fdio/rust:fdio",
"//src/lib/fuchsia",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:assert_matches",
"//third_party/rust_crates:test-case",
]
}
fuchsia_unittest_package("serve_processargs_unittests") {
package_name = "serve_processargs_unittests-gn"
component_name = "serve_processargs_unittests"
deps = [ ":serve_processargs_test" ]
}