blob: 42d55fe00bcabdeb1a3aed9f6dccd661ff56256d [file]
# Copyright 2019 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_test.gni")
fuchsia_test_component("pkgctl_integration_test-component") {
component_name = "pkgctl-integration-test"
manifest = "meta/pkgctl-integration-test.cml"
deps = [ ":driver" ]
}
fuchsia_test_package("pkgctl-integration-tests") {
test_components = [ ":pkgctl_integration_test-component" ]
deps = [
"//src/sys/pkg/bin/pkgctl:pkgctl-binary",
"//src/sys/pkg/testing:fake-ssl-certs",
]
subpackages = [
"//src/connectivity/network/dns:package",
"//src/connectivity/network/netstack3:package-for-tests",
"//src/connectivity/policy/http-client:package",
]
}
group("non_hermetic_tests") {
testonly = true
public_deps = [ ":pkgctl-integration-tests" ]
}
## 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_test("driver") {
sources = [ "src/lib.rs" ]
output_name = "pkgctl_integration_test"
edition = "2024"
lint_config = "//build/config/rust/lints:clippy_warn_all"
deps = [
"//sdk/fidl/fuchsia.io:fuchsia.io_rust",
"//sdk/fidl/fuchsia.net.http:fuchsia.net.http_rust",
"//sdk/fidl/fuchsia.pkg:fuchsia.pkg_rust",
"//sdk/fidl/fuchsia.pkg.garbagecollector:fuchsia.pkg.garbagecollector_rust",
"//sdk/fidl/fuchsia.pkg.rewrite:fuchsia.pkg.rewrite_rust",
"//sdk/rust/zx",
"//src/lib/fidl/rust/fidl",
"//src/lib/fuchsia",
"//src/lib/fuchsia-async",
"//src/lib/fuchsia-component",
"//src/lib/fuchsia-fs",
"//src/lib/fuchsia-sync",
"//src/lib/fuchsia-url",
"//src/lib/testing/fuchsia-hyper-test-support",
"//src/storage/lib/vfs/rust:vfs",
"//src/sys/lib/fidl-fuchsia-pkg-ext",
"//src/sys/lib/fidl-fuchsia-pkg-rewrite-ext",
"//src/sys/pkg/testing/shell-process",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:http",
"//third_party/rust_crates:serde_json",
"//third_party/rust_crates:tempfile",
]
}