| # Copyright 2020 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") | |
| rustc_library("test-code") { | |
| edition = "2018" | |
| name = "ot_test_code" | |
| deps = [ | |
| "//sdk/fidl/fuchsia.lowpan.spinel:fuchsia.lowpan.spinel-rustc", | |
| "//src/connectivity/openthread/tests/lib", | |
| "//src/lib/syslog/rust:syslog", | |
| ] | |
| non_rust_deps = [ "//zircon/system/ulib/syslog" ] | |
| sources = [ | |
| "src/constants.rs", | |
| "src/lib.rs", | |
| "src/spinel_device_ncp_ver_query.rs", | |
| "src/spinel_device_soft_reset.rs", | |
| ] | |
| } |