mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 20:37:34 +00:00
Meta: Add the start of a gn build based on the LLVM gn build
"based on" in this context means "largely copied from"
This commit is contained in:
parent
4a9a1d1656
commit
4bfb146181
19 changed files with 1225 additions and 0 deletions
10
Meta/gn/build/libs/crypt/BUILD.gn
Normal file
10
Meta/gn/build/libs/crypt/BUILD.gn
Normal file
|
@ -0,0 +1,10 @@
|
|||
config("crypt_config") {
|
||||
visibility = [ ":crypt" ]
|
||||
libs = [ "crypt" ]
|
||||
}
|
||||
|
||||
group("crypt") {
|
||||
if (current_os == "linux") {
|
||||
public_configs = [ ":crypt_config" ]
|
||||
}
|
||||
}
|
11
Meta/gn/build/libs/pthread/BUILD.gn
Normal file
11
Meta/gn/build/libs/pthread/BUILD.gn
Normal file
|
@ -0,0 +1,11 @@
|
|||
config("pthread_config") {
|
||||
visibility = [ ":pthread" ]
|
||||
libs = [ "pthread" ]
|
||||
}
|
||||
|
||||
group("pthread") {
|
||||
# On Android, bionic has built-in support for pthreads.
|
||||
if (current_os != "android") {
|
||||
public_configs = [ ":pthread_config" ]
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue