mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19:07:34 +00:00
Meta: Add gn build rules for LibGL and its dependencies
This commit is contained in:
parent
bf02069a89
commit
13a5606cdc
6 changed files with 203 additions and 0 deletions
21
Meta/gn/secondary/Userland/Libraries/LibGPU/BUILD.gn
Normal file
21
Meta/gn/secondary/Userland/Libraries/LibGPU/BUILD.gn
Normal file
|
@ -0,0 +1,21 @@
|
|||
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" ]
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue