| # 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/rust/rustc_library.gni") |
| |
| rustc_library("functionfs") { |
| name = "starnix-modules-functionfs" |
| edition = "2021" |
| version = "0.1.0" |
| source_root = "lib.rs" |
| |
| sources = [ "lib.rs" ] |
| |
| configs += [ "//src/starnix/build:kernel_library_config" ] |
| |
| deps = [ |
| "//sdk/fidl/fuchsia.hardware.adb:fuchsia.hardware.adb_rust", |
| "//sdk/rust/zx", |
| "//src/lib/fdio/rust:fdio", |
| "//src/lib/fidl/rust/fidl", |
| "//src/lib/fuchsia-async", |
| "//src/starnix/kernel/core", |
| "//src/starnix/lib/starnix_logging", |
| "//src/starnix/lib/starnix_sync", |
| "//src/starnix/lib/starnix_types", |
| "//src/starnix/lib/starnix_uapi", |
| "//third_party/rust_crates:async-channel", |
| "//third_party/rust_crates:futures", |
| "//third_party/rust_crates:futures-util", |
| "//third_party/rust_crates:zerocopy", |
| ] |
| } |