| # Copyright 2022 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_library.gni") |
| |
| group("tests") { |
| testonly = true |
| deps = [ ":lib_test($host_toolchain)" ] |
| } |
| |
| if (is_host) { |
| rustc_library("lib") { |
| edition = "2021" |
| name = "conformance_lib" |
| with_unit_tests = true |
| deps = [ |
| "//sdk/fidl/fuchsia.driver.framework:fuchsia.driver.framework_rust", |
| "//sdk/fidl/fuchsia.test.manager:fuchsia.test.manager_rust", |
| "//src/developer/ffx/config:lib", |
| "//src/developer/ffx/lib/errors:lib", |
| "//src/devices/bin/driver_tools/common:lib", |
| "//src/devices/bin/driver_tools/connector:lib", |
| "//src/sys/run_test_suite:lib", |
| "//src/sys/run_test_suite/directory", |
| "//third_party/rust_crates:anyhow", |
| "//third_party/rust_crates:argh", |
| "//third_party/rust_crates:flate2", |
| "//third_party/rust_crates:futures", |
| "//third_party/rust_crates:regex", |
| "//third_party/rust_crates:serde", |
| "//third_party/rust_crates:serde_json", |
| "//third_party/rust_crates:signal-hook", |
| "//third_party/rust_crates:tar", |
| "//third_party/rust_crates:tempfile", |
| "//third_party/rust_crates:url", |
| "//third_party/rust_crates:walkdir", |
| ] |
| sources = [ |
| "src/args.rs", |
| "src/lib.rs", |
| "src/parser.rs", |
| "src/results.rs", |
| ] |
| } |
| } |