blob: 79f3c02f48d16e548b38780489235e82eaf8c7fc [file]
# Copyright 2026 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.
load("//build/bazel/rules/rust:rustc_library.bzl", "rustc_library")
package(default_applicable_licenses = ["//:license"])
rustc_library(
name = "gralloc",
srcs = [
"device.rs",
"file.rs",
"lib.rs",
],
crate_name = "starnix_modules_gralloc",
crate_root = "lib.rs",
edition = "2024",
lint_config = "//src/starnix/build:kernel_library_config",
visibility = ["//src/starnix/modules:__subpackages__"],
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_syscalls",
"//src/starnix/lib/starnix_uapi",
"//src/starnix/lib/virtgralloc",
],
)