blob: df1172a3a9bc1fdb827527edb21c4f8efd921dc8 [file] [log] [blame] [edit]
# 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 = "2021"
version = "0.1.0"
source_root = "lib.rs"
sources = [
"device.rs",
"file.rs",
"lib.rs",
]
configs += [ "//src/starnix/config:starnix_clippy_lints" ]
deps = [
"//sdk/fidl/fuchsia.starnix.gralloc:fuchsia.starnix.gralloc_rust",
"//sdk/rust/zx",
"//src/starnix/kernel:starnix_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",
]
}