| # Copyright 2018 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") |
| |
| rustc_test("bin") { |
| name = "kms_test_client" |
| edition = "2018" |
| source_root = "src/main.rs" |
| sources = [ "src/main.rs" ] |
| deps = [ |
| "//sdk/fidl/fuchsia.kms:fuchsia.kms-rustc", |
| "//sdk/fidl/fuchsia.mem:fuchsia.mem-rustc", |
| "//src/lib/fidl/rust/fidl", |
| "//src/lib/fuchsia-async", |
| "//src/lib/fuchsia-component", |
| "//src/lib/mundane:mundane", |
| "//src/lib/syslog/rust:syslog", |
| "//src/lib/zircon/rust:fuchsia-zircon", |
| "//third_party/rust_crates:anyhow", |
| "//third_party/rust_crates:futures", |
| "//third_party/rust_crates:log", |
| "//third_party/rust_crates:rand", |
| "//third_party/rust_crates:serde", |
| "//third_party/rust_crates:serde_json", |
| "//third_party/rust_crates:thiserror", |
| ] |
| } |
| |
| fuchsia_unittest_package("kms_test_client_pkg") { |
| component_name = "kms_test_client" |
| manifest = "meta/kms_test_client.cmx" |
| deps = [ ":bin" ] |
| } |