| # Copyright 2024 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("rust") { |
| name = "fdf" |
| version = "0.1.0" |
| edition = "2021" |
| with_unit_tests = true |
| |
| deps = [ |
| "channel", |
| "core", |
| ] |
| |
| sources = [ "src/lib.rs" ] |
| } |
| |
| fuchsia_unittest_package("fdf_rust_tests") { |
| deps = [ ":rust_test" ] |
| } |
| |
| group("tests") { |
| testonly = true |
| deps = [ |
| ":fdf_rust_tests", |
| "channel:tests", |
| "core:tests", |
| "env:tests", |
| "fdf_sys:tests", |
| "fidl:tests", |
| ] |
| } |