blob: d14346856ce0fe926ba7ce14dc28958029c83ec1 [file] [log] [blame]
# Copyright 2021 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/bind/bind.gni")
import("//build/components.gni")
import("//build/rust/rustc_test.gni")
import("//build/test.gni")
group("tests") {
testonly = true
deps = [ ":package" ]
}
rustc_test("driver_test_realm_test") {
edition = "2021"
testonly = true
source_root = "test.rs"
sources = [ "test.rs" ]
deps = [
"//sdk/fidl/fuchsia.driver.development:fuchsia.driver.development-rustc",
"//sdk/fidl/fuchsia.driver.test:fuchsia.driver.test-rustc",
"//sdk/fidl/fuchsia.io:fuchsia.io-rustc",
"//sdk/lib/device-watcher/rust",
"//sdk/lib/driver_test_realm/realm_builder/rust",
"//src/lib/fidl/rust/fidl",
"//src/lib/fuchsia-async",
"//src/lib/fuchsia-component-test",
"//src/lib/fuchsia-fs",
"//src/sys/lib/component-events",
"//third_party/rust_crates:anyhow",
]
}
fuchsia_unittest_package("package") {
package_name = "driver_test_realm_test"
deps = [
":driver_test_realm_test",
"//src/devices/bus/drivers/platform:platform-bus",
"//src/devices/misc/drivers/test",
"//src/devices/misc/drivers/test-parent",
]
}