blob: 36b10f0adfa5f4d67b4a0c81cd88720347fd8e29 [file] [log] [blame]
# Copyright 2025 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/fidl/fidl.gni")
import("//build/rust/rustc_library.gni")
import("//build/rust/rustc_test.gni")
rustc_library("fidl_test_util") {
name = "fidl_test_util"
edition = "2024"
with_unit_tests = true
deps = [
"//src/lib/fidl/rust/fidl",
"//src/lib/fuchsia-async",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:log",
]
test_deps = [
"//src/lib/fuchsia",
"//src/testing/fidl:placeholders_rust",
]
sources = [ "src/lib.rs" ]
}
fuchsia_unittest_package("fidl_test_util_target_test") {
deps = [ ":fidl_test_util_test" ]
}
group("tests") {
testonly = true
deps = [
":fidl_test_util_target_test",
":fidl_test_util_test",
]
}