| # 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/package.gni") |
| import("//build/rust/rustc_test.gni") |
| import("//build/test/test_package.gni") |
| import("//build/testing/platforms.gni") |
| |
| rustc_test("bin") { |
| name = "kms_test_client" |
| edition = "2018" |
| source_root = "src/main.rs" |
| deps = [ |
| "//garnet/public/lib/fidl/rust/fidl", |
| "//garnet/public/rust/fuchsia-async", |
| "//garnet/public/rust/fuchsia-component", |
| "//garnet/public/rust/fuchsia-syslog", |
| "//garnet/public/rust/fuchsia-zircon", |
| "//garnet/public/rust/mundane:mundane", |
| "//sdk/fidl/fuchsia.kms:fuchsia.kms-rustc", |
| "//third_party/rust_crates:failure", |
| "//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_derive", |
| "//third_party/rust_crates:serde_json", |
| "//zircon/system/fidl/fuchsia-mem:fuchsia-mem-rustc", |
| ] |
| } |
| |
| test_package("kms_test_client_pkg") { |
| deps = [ |
| ":bin", |
| ] |
| |
| tests = [ |
| { |
| name = "kms_test_client" |
| }, |
| ] |
| } |