blob: 2df1b480429c4b23e113b5e5eddf2407e023baf9 [file] [log] [blame]
# Copyright 2023 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_binary.gni")
rustc_library("gralloc") {
name = "starnix-modules-gralloc"
edition = "2024"
version = "0.1.0"
source_root = "lib.rs"
sources = [
"device.rs",
"file.rs",
"lib.rs",
]
configs += [ "//src/starnix/build:kernel_library_config" ]
deps = [
"//sdk/fidl/fuchsia.starnix.gralloc:fuchsia.starnix.gralloc_rust",
"//sdk/rust/zx",
"//src/starnix/kernel/core",
"//src/starnix/lib/starnix_logging",
"//src/starnix/lib/starnix_sync",
"//src/starnix/lib/starnix_syscalls",
"//src/starnix/lib/starnix_uapi",
"//src/starnix/lib/virtgralloc",
]
}