blob: cb694f007491bba1e86a0ffcbf34403189931f48 [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 = "2021"
source_root = "src/main.rs"
sources = [ "src/main.rs" ]
deps = [
":test.security.pkg-rustc",
"//sdk/fidl/fuchsia.io:fuchsia.io-rustc",
"//src/lib/fidl/rust/fidl",
"//src/lib/fuchsia-async",
"//src/lib/fuchsia-component",
"//src/lib/fuchsia-fs",
"//src/lib/fuchsia-hyper",
"//src/lib/syslog/rust:syslog",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:argh",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:hyper",
"//third_party/rust_crates:rustls",
"//third_party/rust_crates:tokio",
"//third_party/rust_crates:tokio-rustls",
]
}
fidl("test.security.pkg") {
testonly = true
sources = [ "fidl/pkg_server.fidl" ]
}