blob: 7fbfaa0e1ace0879c93e0457d82e1a97eff72087 [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/components.gni")
import("//build/rust/rustc_library.gni")
rustc_test("fidl") {
output_name = "fidl_on_overnet_tests"
edition = "2021"
deps = [
"//src/connectivity/overnet/lib/circuit",
"//src/connectivity/overnet/lib/core",
"//src/lib/fidl/rust/fidl",
"//src/lib/fidl/rust/handle_tests:fidl_handle_tests",
"//src/lib/fuchsia",
"//src/lib/fuchsia-async",
"//third_party/rust_crates:async-trait",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:tracing",
]
sources = [
"src/channel.rs",
"src/lib.rs",
"src/socket.rs",
]
}
fuchsia_unittest_package("overnet-fidl-tests") {
deps = [ ":fidl" ]
}
group("tests") {
testonly = true
deps = [
":fidl($host_toolchain)",
":overnet-fidl-tests",
]
}