blob: e4ef3ca3a4771d8d2f7eacc5c246d46deee00318 [file] [log] [blame]
# Copyright 2019 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/rust/rustc_library.gni")
import("//build/test/test_package.gni")
rustc_library("cm_fidl_validator") {
with_unit_tests = true
edition = "2018"
deps = [
"//garnet/lib/rust/cm_types",
"//sdk/fidl/fuchsia.data:fuchsia.data-rustc",
"//sdk/fidl/fuchsia.sys2:fuchsia.sys2-rustc",
"//src/lib/directed_graph",
"//third_party/rust_crates:itertools",
"//third_party/rust_crates:thiserror",
"//zircon/system/fidl/fuchsia-io2:fuchsia-io2-rustc",
]
test_deps = [
"//third_party/rust_crates:lazy_static",
"//third_party/rust_crates:proptest",
"//third_party/rust_crates:regex",
]
}
test_package("cm_fidl_validator_tests") {
deps = [ ":cm_fidl_validator_test" ]
tests = [
{
name = "cm_fidl_validator_lib_test"
dest = "cm_fidl_validator_tests"
},
]
}