blob: 03b7c5e0a7776d571c8b6b6b1190da1dbe13e2c9 [file] [log] [blame]
# 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.
import("//build/components/fuchsia_test_component.gni")
import("//build/fidl/fidl.gni")
import("//build/rust/rustc_binary.gni")
rustc_binary("pkg_server-binary") {
testonly = true
name = "pkg_server"
edition = "2024"
source_root = "src/main.rs"
sources = [ "src/main.rs" ]
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:hyper",
"//third_party/rust_crates:log",
"//third_party/rust_crates:rustls",
"//third_party/rust_crates:rustls-pemfile",
"//third_party/rust_crates:tokio",
"//third_party/rust_crates:tokio-rustls",
]
}
fidl("test.security.pkg") {
testonly = true
sources = [ "fidl/pkg_server.fidl" ]
}