blob: c7a93be2b10eec4f53738219bcd11cd84573b633 [file]
# 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.
## 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_binary("pkg_server-binary") {
testonly = true
sources = [ "src/main.rs" ]
output_name = "pkg_server"
edition = "2024"
visibility = [
":*",
"//src/security/tests/pkg_test/tests:*",
]
deps = [
":test.security.pkg_rust",
"//sdk/fidl/fuchsia.io:fuchsia.io_rust",
"//src/lib/fidl/rust/fidl",
"//src/lib/fuchsia",
"//src/lib/fuchsia-async",
"//src/lib/fuchsia-component",
"//src/lib/fuchsia-fs",
"//src/lib/fuchsia-hyper",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:argh",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:http-body-util",
"//third_party/rust_crates:hyper",
"//third_party/rust_crates:hyper-util",
"//third_party/rust_crates:log",
"//third_party/rust_crates:rustls",
"//third_party/rust_crates:rustls-pemfile",
"//third_party/rust_crates:tokio-rustls",
]
}
fidl("test.security.pkg") {
testonly = true
sources = [ "fidl/pkg_server.fidl" ]
visibility = [
":*",
"//src/security/tests/pkg_test/tests/access_ota_blob_as_executable:*",
"//src/security/tests/pkg_test/tests/bad_signature_update:*",
]
}