| # 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/rust/rustc_library.gni") |
| |
| rustc_library("env") { |
| name = "fdf_env" |
| version = "0.1.0" |
| edition = "2024" |
| with_unit_tests = true |
| |
| deps = [ |
| "//sdk/lib/driver/runtime/rust", |
| "//sdk/lib/driver/runtime/rust/fdf_sys", |
| "//sdk/rust/zx", |
| "//src/devices/bin/driver_runtime", |
| ] |
| |
| sources = [ |
| "src/lib.rs", |
| "src/test.rs", |
| ] |
| } |
| |
| fuchsia_unittest_package("fdf_rust_env_tests") { |
| deps = [ ":env_test" ] |
| } |
| |
| group("tests") { |
| testonly = true |
| deps = [ ":fdf_rust_env_tests" ] |
| } |