1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 05:44:58 +00:00
serenity/Meta/gn/secondary/Userland/Libraries/LibGPU/BUILD.gn

18 lines
509 B
Text

shared_library("LibGPU") {
output_name = "gpu"
include_dirs = [ "//Userland/Libraries" ]
sources = [
"Driver.cpp",
"Image.cpp",
]
deps = [ "//AK" ]
# 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" ]
}
}