Squash commits for public release
This commit is contained in:
24
libs/libg/BUILD.gn
Normal file
24
libs/libg/BUILD.gn
Normal file
@@ -0,0 +1,24 @@
|
||||
import("//build/libs/TEMPLATE.gni")
|
||||
|
||||
xOS_static_library("libg") {
|
||||
sources = [
|
||||
"src/Color.cpp",
|
||||
"src/Context.cpp",
|
||||
"src/Font.cpp",
|
||||
"src/ImageLoaders/PNGLoader.cpp",
|
||||
"src/PixelBitmap.cpp",
|
||||
"src/Rect.cpp",
|
||||
]
|
||||
|
||||
deplibs = [
|
||||
"libcxx",
|
||||
"libfoundation",
|
||||
"libipc",
|
||||
"libfreetype",
|
||||
]
|
||||
configs = [ "//build/libs:libcxx_flags" ]
|
||||
|
||||
if (host == "llvm") {
|
||||
cflags = [ "-flto" ]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user