1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-24 13:27:35 +00:00
serenity/Meta/gn/secondary/Userland/Libraries/LibGPU/BUILD.gn

21 lines
552 B
Text

shared_library("LibGPU") {
output_name = "gpu"
include_dirs = [ "//Userland/Libraries" ]
sources = [
"Driver.cpp",
"Image.cpp",
]
deps = [
"//AK",
"//Userland/Libraries/LibCore",
]
# FIXME: express this dependency properly to avoid cycles
# we want to make sure that LibSoftGPU is built when LibGPU is needed
#data_deps = [ "//Userland/Libraries/LibSoftGPU" ]
if (current_os == "serenity") {
#data_deps += [ "//Userland/Libraries/LibVirtGPU" ]
} else if (current_os == "linux") {
libs = [ "dl" ]
}
}